Part Number Hot Search : 
ST90T40 ST90T40 ST90T40 SJ432A SJ432A ST90T40 AN133 SMLE12
Product Description
Full Text Search
 

To Download CYNSE70032-66BGC Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  cynse7003 2 cypress semiconductor corporation ? 3901 north first street  san jose , ca 95134  408-943-2600 document #: 38-02042 rev. *e revised may 5, 2003 cynse70032 network search engine
cynse7003 2 document #: 38-02042 rev. *e page 2 of 126 table of contents 1.0 overview ................................................................................................................. .................... 9 2.0 cynse70032 features ...................................................................................................... ........ 9 3.0 block diagram ............................................................................................................ ............ 10 4.0 functional description ................................................................................................... ... 10 4.1 command bus and dq bus ................................................................................................... .. 10 4.2 database entry (data array and mask array) ......................................................................... 10 4.3 arbitration logic ........................................................................................................ ............... 10 4.4 pipeline and sram control ................................................................................................ ..... 11 4.5 full logic ............................................................................................................... ................... 11 5.0 signal descriptions ...................................................................................................... ....... 11 6.0 clocks ................................................................................................................... ..................... 13 7.0 registers ................................................................................................................ .................. 13 7.1 comparand registers ...................................................................................................... ........ 13 7.2 mask registers ........................................................................................................... ............. 14 7.3 search successful registers (ssr[0:7]) ................................................................................. 14 8.0 command register ......................................................................................................... ....... 14 9.0 information register ..................................................................................................... ..... 15 9.1 read burst address register .............................................................................................. .... 16 9.2 write burst address register description ................................................................................ 1 6 9.3 nfa register ............................................................................................................. .............. 16 10.0 nse architecture and operation overview ............................................................ 17 11.0 data and mask addressing ............................................................................................. 18 12.0 commands ................................................................................................................ ............... 18 12.1 command codes ........................................................................................................... ........ 18 12.2 commands and command parameters ................................................................................ 19 12.3 read command ............................................................................................................ ......... 19 12.4 write command ........................................................................................................... .......... 21 13.0 search command .......................................................................................................... ....... 24 13.1 68-bit search on tables configured as 68 using a single cynse70032 device ............... 24 13.2 68-bit search on tables configured as 68 using up to eight cynse70032 devices ......... 26 13.3 68-bit search on tables configured as 68 using up to 31 cynse70032 devices ............. 31 13.4 136-bit search on tables configured as 136 using a single cynse70032 device ........... 45 13.5 136-bit search on tables configured as 136 using up to eight cynse70032 devices ..... 48 13.6 136-bit search on tables configured as 136 using up to 31 cynse70032 devices ......... 54 13.7 272-bit search on tables configured as 272 using a single cynse70032 device ........... 69 13.8 272-bit search on tables configured as 272 and using up to eight cynse70032 devices ................................................................................................ .. 71 13.9 272-bit search on tables configured as 272 using up to 31 cynse70032 devices ......... 76 13.10 mixed-size searches on tables conf igured with different widths using an cynse70032 device ........................................................................................................... ...... 91 13.11 lram and ldev description .............................................................................................. .92 13.12 learn command .......................................................................................................... ........ 92
cynse7003 2 document #: 38-02042 rev. *e page 3 of 126 table of contents (continued) 14.0 depth-cascading ......................................................................................................... ......... 96 14.1 depth-cascading up to eight devices (one block) ............................................................... 96 14.2 depth-cascading up to 31 devices (four blocks) ................................................................. 97 14.3 depth-cascading for a full signal ...................................................................................... 9 7 15.0 sram addressing ......................................................................................................... ........ 98 15.1 generating an sram bus address ...................................................................................... 99 15.2 sram pio access ......................................................................................................... ........ 99 15.3 sram read with a table of one device ............................................................................... 99 15.4 sram read with a table of up to eight devices ................................................................. 100 15.5 sram read with a table of up to 31 devices ..................................................................... 103 15.6 sram write with a table of one device ............................................................................. 106 15.7 sram write with a table of up to eight devices ................................................................. 107 15.8 sram write with table(s) consisting of up to 31 devices .................................................. 110 16.0 power ................................................................................................................... .................. 114 16.1 the proper power-up sequence ......................................................................................... 114 17.0 application ............................................................................................................. ............. 114 18.0 jtag (1149.1) testing ................................................................................................... ....... 115 19.0 electrical specifications ............................................................................................. 11 6 20.0 ac timing waveforms ..................................................................................................... .. 117 21.0 pinout descriptions and package diagrams ......................................................... 120 22.0 ordering information .................................................................................................... . 124 23.0 package diagrams ........................................................................................................ .... 124
cynse7003 2 document #: 38-02042 rev. *e page 4 of 126 list of figures figure 6-1. cynse70032 clocks (clk2x and phs_l) ...................................................................... 13 figure 7-1. comparand register selection during search and learn instructions ............................. 13 figure 7-2. addressing the global mask register array ..................................................................... 14 figure 10-1. cynse70032 database width configuration ................................................................. 17 figure 10-2. multiwidth database configurations .............................................................................. .. 18 figure 11-1. addressing cynse70032 data and mask arrays .......................................................... 18 figure 12-1. single-location read cycle timing ............................................................................... .20 figure 12-2. burst read of the data and mask arrays (blen = 4) ..................................................... 21 figure 12-3. single write cycle timing ....................................................................................... ........ 22 figure 12-4. burst write of the data and mask arrays (blen = 4) ..................................................... 23 figure 13-1. timing diagram for 68-bit search in 68 table (one device) ........................................ 24 figure 13-2. hardware diagram for a table with a single device ....................................................... 25 figure 13-3. 68 table with one device ....................................................................................... ...... 25 figure 13-4. hardware diagram for a table with eight devices .......................................................... 27 figure 13-5. timing diagram for 68-bit search device number 0 ....................................................... 28 figure 13-6. timing diagram for 68-bit search device number 1 ....................................................... 29 figure 13-7. timing diagram for 68-bit search device number 7 (last device) ................................ 30 figure 13-8. 68 table with eight devices .................................................................................... ...... 31 figure 13-9. hardware diagram for a table with 31 devices .............................................................. 32 figure 13-10. hardware diagram for a block of up to eight devices .................................................. 33 figure 13-11. timing diagram for each device in block number 0 (miss on each device) ............... 34 figure 13-12. timing diagram for each device above the winning device in block number 1 ......... 35 figure 13-13. timing diagram for globally winning device in block number 1 ................................. 36 figure 13-14. timing diagram for devices below the winning device in block number 1 ................. 37 figure 13-15. timing diagram for devices above the winning device in block number 2 ................ 38 figure 13-16. timing diagram for globally winning device in block number 2 ................................. 39 figure 13-17. timing diagram for devices below the winning device in block number 2 ................. 40 figure 13-18. timing diagram for devices above the winning device in block number 3 ................ 41 figure 13-19. timing diagram for globally winning device in block number 3 ................................. 42 figure 13-20. timing diagram for devices below the winning device in block number 3 (except the last device [device number 30]) ................................................................................... ... 43 figure 13-21. timing diagram for device number 6 in block number 3 (device number 30 in depth-cascaded table) .................................................................................... 44 figure 13-22. 68 table with 31 devices ...................................................................................... ...... 45 figure 13-23. timing diagram for 136-bit search (one device) ......................................................... 46 figure 13-24. hardware diagram for a table with one device .......................................................... 46 figure 13-25. 136 table with one device ..................................................................................... .... 47 figure 13-26. hardware diagram for a table with eight devices ........................................................ 49 figure 13-27. timing diagram for 136-bit search device number 0 ................................................... 50 figure 13-28. timing diagram for 136-bit search device number 1 ................................................... 51 figure 13-29. timing diagram for 136-bit search device number 7 (last device) ............................ 52 figure 13-30. 136 table with eight devices .................................................................................. .... 53 figure 13-31. hardware diagram for a table with 31 devices ............................................................ 55 figure 13-32. hardware diagram for a block of up to eight devices .................................................. 56 figure 13-33. timing diagram for each device in block number 0 (miss on each device) ............... 57 figure 13-34. timing diagram for each device above the winning device in block number 1 ......... 58 figure 13-35. timing diagram for globally winning device in block number 1 ................................. 59 figure 13-36. timing diagram for devices below the winning device in block number 1 ................. 60
cynse7003 2 document #: 38-02042 rev. *e page 5 of 126 list of figures (continued) figure 13-37. timing diagram for devices above the winning device in block number 2 ................ 61 figure 13-38. timing diagram for globally winning device in block number 2 ................................. 62 figure 13-39. timing diagram for devices below the winning device in block number 2 ................. 63 figure 13-40. timing diagram for devices above the winning device in block number 3 ................ 64 figure 13-41. timing diagram for globally winning device in block number 3 ................................. 65 figure 13-42. timing diagram for devices below the winning device in block number 3 except device number 30 (the last device) ..................................................................................... ... 66 figure 13-43. timing diagram for device number 6 in block number 3 (device number 30 in depth-cascaded table) .................................................................................... 67 figure 13-44. x136 table with 31 devices ..................................................................................... ..... 68 figure 13-45. timing diagram for 272-bit search (one device) ......................................................... 69 figure 13-46. hardware diagram for a table with one device .......................................................... 69 figure 13-47. x272 table with one device ..................................................................................... .... 70 figure 13-48. hardware diagram for a table with eight devices ........................................................ 72 figure 13-49. timing diagram for 272-bit search device number 0 ................................................... 73 figure 13-50. timing diagram for 272-bit search device number 1 ................................................... 74 figure 13-51. timing diagram for 272-bit search device number 7 (last device) ............................ 75 figure 13-52. x272 table with eight devices .................................................................................. .... 76 figure 13-53. hardware diagram for a table with 31 devices ............................................................ 77 figure 13-54. hardware diagram for a block of up to eight devices .................................................. 78 figure 13-55. timing diagram for each device in block number 0 (miss on each device) ............... 79 figure 13-56. timing diagram for each device above the winning device in block number 1 ......... 80 figure 13-57. timing diagram for globally winning device in block number 1 ................................. 81 figure 13-58. timing diagram for devices below the winning device in block number 1 ................. 82 figure 13-59. timing diagram for devices above the winning device in block number 2 ................ 83 figure 13-60. timing diagram for globally winning device in block number 2 ................................. 84 figure 13-61. timing diagram for devices below the winning device in block number 2 ................. 85 figure 13-62. timing diagram for devices above the winning device in block number 3 ................ 86 figure 13-63. timing diagram for globally winning device in block number 3 ................................. 87 figure 13-64. timing diagram for devices below the winning device in block number 3 except device number 30 (the last device) ......................................................... 88 figure 13-65. timing diagram of the last device in block number 3 (device 30 in the table) .......... 89 figure 13-66. x272 table with 31 devices ..................................................................................... ..... 90 figure 13-67. timing diagram for mixed search (one device) ........................................................... 91 figure 13-68. multiwidth configurations example .............................................................................. .91 figure 13-69. learn timing diagram (tlsz = 00) ............................................................................... 93 figure 13-70. learn timing diagram (tlsz = 01 [except on the last device]) .................................. 94 figure 13-71. learn timing diagram on device number 7 (tlsz = 01) ............................................. 95 figure 14-1. depth-cascading to form a single block ....................................................................... 96 figure 14-2. depth-cascading four blocks ..................................................................................... .... 97 figure 14-3. full generation in a cascaded table ........................................................................... 98 figure 15-1. sram read access (tlsz = 00, hlat = 000, lram = 1, ldev = 1) ..................... 100 figure 15-2. table of a block of eight devices ............................................................................... ... 101 figure 15-3. sram read through device number 0 in a block of eight devices ............................ 102 figure 15-4. sram read timing for device number 7 in a block of eight devices ......................... 103 figure 15-5. table of 31 devices made of four blocks ..................................................................... 104 figure 15-6. sram read through device number 0 in a bank of 31 devices (device number 0 timing) ...................................................................................................... ............ 105
cynse7003 2 document #: 38-02042 rev. *e page 6 of 126 list of figures (continued) figure 15-7. sram readthrough device number 0 in a bank of 31 devices (device number 30 timing) ..................................................................................................... ........... 106 figure 15-8. sram write access (tlsz = 00, hlat = 000, lram = 1, ldev = 1) ......................... 107 figure 15-9. table of a block of eight devices ............................................................................... ... 108 figure 15-10. sram write through device number 0 in a block of eight devices .......................... 109 figure 15-11. sram write timing for device number 7 in a block of eight devices ....................... 110 figure 15-12. table of 31 devices (four blocks) .............................................................................. 111 figure 15-13. sram write through device number 0 in a bank of 31 devices (device 0 timing) . 112 figure 15-14. sram write through device number 0 in a bank of 31 cynse70032 devices (device number 30 timing) ..................................................................................................... ........... 113 figure 16-1. power-up sequence ............................................................................................... ....... 114 figure 17-1. sample switch/router using the cynse70032 device ............................................... 115 figure 20-1. input waveform for cynse70032 ................................................................................ 118 figure 20-2. output load for cynse70032 ...................................................................................... 118 figure 20-3. 2.5 i/o output load equivalent for cynse70032 ........................................................ 118 figure 20-4. ac timing waveforms with clk2x ............................................................................... 119 figure 21-1. pinout diagram (top view) ....................................................................................... .... 120 figure 23-1. package ......................................................................................................... ............... 124
cynse7003 2 document #: 38-02042 rev. *e page 7 of 126 list of tables table 5-1. cynse70032 signal description ..................................................................................... .. 11 table 7-1. register overview ................................................................................................. ............. 13 table 7-2. search successful register description ............................................................................ 14 table 8-1. command register description ...................................................................................... .... 14 table 9-1. information register description .................................................................................. ...... 15 table 9-2. read burst register description ................................................................................... ..... 16 table 9-3. write burst register description .................................................................................. ...... 16 table 9-4. nfa register ...................................................................................................... ................ 16 table 10-1. bit position match ............................................................................................... .............. 17 table 12-1. command codes .................................................................................................... .......... 18 table 12-2. command parameters ............................................................................................... ...... 19 table 12-3. read command parameters .......................................................................................... .. 19 table 12-4. read address format for data array, mask array, or sram .......................................... 20 table 12-5. read address format for internal registers .................................................................... 21 table 12-6. read address format for data and mask arrays ............................................................. 21 table 12-7. write address format for data array, mask array, or sram (single write) .................... 22 table 12-8. write address format for internal registers .................................................................... 22 table 12-9. write address format for data and mask array (burst write) ......................................... 23 table 13-1. search latency from instruction to sram access cycle ................................................ 26 table 13-2. shift of ssf and ssv from sadr ................................................................................... .26 table 13-3. hit/miss assumption .............................................................................................. ........ 26 table 13-4. search latency from instruction to sram access cycle .................................................. 31 table 13-5. shift of ssf and ssv from sadr ................................................................................... .31 table 13-6. hit/miss assumption .............................................................................................. ........... 32 table 13-7. search latency from instruction to sram access cycle ................................................. 45 table 13-8. shift of ssf and ssv from sadr ................................................................................... .45 table 13-9. search latency from instruction to sram access cycle ................................................. 47 table 13-10. shift of ssf and ssv from sadr .................................................................................. 47 table 13-11. hit/miss assumptions ............................................................................................ ......... 48 table 13-12. search latency from instruction to sram access cycle ............................................... 53 table 13-13. shift of ssf and ssv from sadr .................................................................................. 53 table 13-14. hit/miss assumptions ............................................................................................ ......... 54 table 13-15. search latency from instruction to sram access cycle ............................................... 68 table 13-16. shift of ssf and ssv from sadr .................................................................................. 68 table 13-17. search latency from instruction to sram access cycle ............................................... 70 table 13-18. shift of ssf and ssv from sadr .................................................................................. 70 table 13-19. hit/miss assumptions ............................................................................................ ......... 71 table 13-20. search latency from instruction to sram access cycle ............................................... 76 table 13-21. shift of ssf and ssv from sadr .................................................................................. 76 table 13-22. hit/miss assumptions ............................................................................................ ......... 77 table 13-23. search latency from instruction to sram access cycle ............................................... 90 table 13-24. shift of ssf and ssv from sadr .................................................................................. 90 table 13-25. sram write cycle latency from second cycle of learn instruction ............................. 95 table 15-1. sram bus address ................................................................................................. ......... 99 table 18-1. supported operations ............................................................................................. ....... 115 table 19-1. dc electrical characteristics for cynse70032 .............................................................116 table 19-2. operating conditions for cynse70032 ......................................................................... 116 table 18-2. tap device id register .......................................................................................... ....... 116
cynse7003 2 document #: 38-02042 rev. *e page 8 of 126 list of tables (continued) table 19-3. operating range for cynse70032 ................................................................................ 117 table 20-1. ac timing parameters with clk2x ............................................................................... 117 table 20-2. test conditions of cynse70032 ...................................................................................1 17 table 21-1. pinout descriptions for pinout diagram ..........................................................................1 20 table 22-1. ordering information ............................................................................................. ..........124
cynse7003 2 document #: 38-02042 rev. *e page 9 of 126 1.0 overview cypress semiconductor corporation?s (cypress?s) cynse70032 network search engine (nse) incorporates patent-pending associative processing technology? (apt) and is designed to be a high-performance, pipelined, synchronous, 16k-entry nse. the cynse70032 database entry size can be 68, 136, or 272 bits. in the 68-bit entry mode, the size of the database is 16k entries. in the 136-bit mode, the size of the database is 8k entries, and in the 272-bit mode, the size of the database is 4k e ntries. the cynse70032 is configurable to support multiple databases with different entry sizes. the 36-bit entry table can be imple- mented using the global mask registers (gmrs) building-database size of 32k entries with a single device. the search engine can sustain 83 million transactions per second when the database is programmed or configured as 68 or 136 bits. when the database is programmed to have an entry size of 34 or 272 bits, the search engine will perform at 41.5 million transactions per second. the cynse70032 can be used to accelerate network protocols such as longest-prefix match (cidr), address-resolution protocol (arp), multiprotocol label switching (mpls), and other layer 2, 3, and 4 protocols. this high-speed, high-capacity nse can be deployed in a variety of networking and communications applications. the perfor- mance and features of the cynse70032 device make it attractive in applications such as enterprise local-area network (lan) switches and routers and broadband switching and/or routing equipment supporting multiple data rates at oc-48 and beyond. the nse is designed to be scalable in order to support network database sizes of up to 992k entries specifically for environmen ts that require large network policy databases. the block diagram for the cynse70032 device is shown on page 10. 2.0 cynse70032 features ? 32k 34-bit entries in a single device  16k entries in 68-bit mode, 8k entries in 136-bit mode, 4k entries in 272-bit mode  83 million transactions per second in 68- and 136-bit configurations  41.5 million transactions in 34- and 272-bit configurations  searches any subfield in a single cycle  synchronous pipelined operation  up to 31 nses can be cascaded  when cascaded, the database entries can range to 992k 36-bit entries  multiple width tables in a single database bank  glueless interface to industry standard srams and/or ssrams  simple hardware instruction interface  ieee 1149.1 test access port  1.8v core voltage supply  2.5/3.3v i/o voltage supply  272-pin bga package .
cynse7003 2 document #: 38-02042 rev. *e page 10 of 126 3.0 block diagram 4.0 functional description the following subsections contain the following descriptions: command (cmd) and dq bus (command and databus), database entry, arbitration logic, pipeline and sram control, and full logic. 4.1 command bus and dq bus cmd[8:0] carries the command and its associated parameter. dq[67:0] is used for data transfer to and from the database entries, which is made up of data and mask fields that are organized as data and mask arrays. the dq bus carries the search data (of the data and mask arrays and internal registers) during the search command, as well as the address and data during read or write operations. the dq bus can also carry address information for the flow-through accesses to the external srams or ssrams. 4.2 database entry (data array and mask array) each database entry comprises a data and a mask field. the resultant value of the entry is ?1,? ?0,? or ?x (don?t care),? depen ding on the value in the data mask bit. the on-chip priority encoder selects the first matching entry in the database that is neares t to location 0. 4.3 arbitration logic when multiple search engines are cascaded to create large databases, the data being searched is presented simultaneously to all search engines in the cascaded system. if multiple matches occur within the cascaded devices, arbitration logic on the sear ch engines will enable the winning device (with a matching entry that is closest to address 0 of the cascaded database) to drive t he sram bus. compare/pio data address decode match logic compare/pio data dq[67:0] cmdv cmd[8:0] lhi[6:0] command and pio access priority encode cmd arbitration logic lho[1:0] pipeline and sram control sadr[21:0] oe_l bho[2:0] ssf we_l ce_l id[4:0] bhi[2:0] ssv ack tap tap controller ale_l fulo[1:0] fuli[6:0] eot full logic full rst_l phs_l decode comparand register pairs [15:0] global mask register pairs [7:0] information and command register burst read register burst write register next-free address register search successful index registers [7:0] clk2x [all registers are 68 bits wide.] configurable as 16k x 68 8k x 136 4k x 272 mask array configurable as 16k x 68 8k x 136 4k x 272 data array
cynse7003 2 document #: 38-02042 rev. *e page 11 of 126 4.4 pipeline and sram control pipeline latency is added to give enough time to a cascaded system?s arbitration logic to determine the device that will drive the index of the matching entry on the sram bus. pipeline logic adds latency to both the sram access cycles and the ssf and ssv signals in order to align them to the host asic that receives the associated data. 4.5 full logic bit[0] in each of the 68-bit entries has a special purpose for the learn command (0 = empty, 1 = full). when all the data entri es have bit[0] set to 1, the database asserts the full flag, indicating that all the search engines in the depth-cascaded array ar e full. 5.0 signal descriptions table 5-1 lists and describes all cynse70032 signals. table 5-1. cynse70032 signal description parameter type [1] description clocks and reset clk2x i master clock . cynse70032 samples all the data and control pins on the positive edge of clk2x. all signals are driven out of the device on the rising edge of clk2x (when phs_l is low). phs_l i phase . this signal runs at half the frequency of clk2x and generates an internal clock from clk2x. see section 6.0, ?clocks? on page 13. rst_l i reset . driving rst_l low initializes the device to a known state. command and dq bus cmd[8:0] i command bus . [1:0] specifies the command and [8:2] contains the command param- eters. the descriptions of individual commands explains the details of the parameters. the encoding of commands based on the [1:0] field are: 00: pio read 01: pio write 10: search 11: learn. cmdv i command valid . this signal qualifies the command bus: 0: no command 1: command. dq[67:0] i/o address/data bus . this signal carries the read and write address and data during register, data, and mask array operations. it carries the compare data during search operations. it also carries the sram address during sram pio accesses. ack [2] t read acknowledge . this signal indicates that valid data is available on the dq bus during register, data, and mask array read operations, or that the data is available on the sram data bus during sram read operations. eot [2] t end of transfer . this signal indicates the end of burst transfer to the data or mask array during read or write burst operations. ssf t search successful flag . when asserted, this signal indicates that the device is the global winner in a search operation. ssv t search successful flag valid . when asserted, this signal qualifies the ssf signal. sram interface sadr[21:0] t sram address . this bus contains address lines to access off-chip srams that contain associative data. see table 15-1 for the details of the generated sram address. in a database of multiple cynse70032 devices, each corresponding bit of the sram address from all cascaded devices must be connected. ce_l t sram chip enable . this is the chip-enable control for external srams. in a database of multiple cynse70032 devices, ce_l of all cascaded devices must be connected. this signal is then driven by only one of the devices. we_l t sram write enable . this is the write-enable control for external srams. in a database of multiple cynse70032 devices, we_l of all cascaded devices must be connected together. this signal is then driven by only one of the devices. notes: 1. i = input only, i/o = input or output, o = output only, t = three-state output. 2. ack and eot require a weak external pull-down such as 47k ? or 100k ?.
cynse7003 2 document #: 38-02042 rev. *e page 12 of 126 oe_l t sram output enable . this is the output-enable control for external srams. only the last device drives this signal (with the lram bit set). ale_l t address latch enable . when this signal is low, the addresses are valid on the sram address bus. in a database of multiple cynse70032s, the ale_l of all cascaded devices must be connected. this signal is then driven by only one of the devices. cascade interface lhi[6:0] i local hit in . these pins depth cascade the device to form a larger table. one signal of this bus is connected to the lho[1] or lho[0] of each of the upstream devices in a block. all unused lhi pins are connected to a logic 0. (for more information, see section 14.0, ?depth-cascading? on page 96.) lho[1:0] o local hit out . lho[1] and lho[0] are the same logical signal. either the lho[1] or the lho[0] is connected to one input of the lhi bus of up to four downstream devices in a block of up to eight. (for more information see section 14.0, ?depth-cascading? on page 96.) bhi[2:0] i block hit in . inputs from the previous block bho[2:0] are tied to the bhi[2:0] of the current device. in a four-block system, the last block can contain only seven devices because the identification code 11111 is used for broadcast access. bho[2:0] o block hit out . these outputs from the last device in a block are connected to the bhi[2:0] inputs of the devices in the downstream blocks. fuli[6:0] i full in . each signal in this bus is connected to fulo[0] or fulo[1] of an upstream device to generate the full flag for the depth-cascaded block. fulo[1:0] o full out . fulo[1] and fulo[0] are the same logical signal. one of these two signals must be connected to the fuli of up to four downstream devices in a depth-cascaded table. bit[0] in the data array indicates whether the entry is full (1) or empty (0).this signal is asserted if all bits in the data array are 1s. (refer to section 14.0, ?depth-cascading? on page 96, for information on how to generate the full flag.) full o full flag . when asserted, this signal indicates that the table of multiple depth-cascaded devices is full. device identification id[4:0] i device identification . the binary-encoded device identification for a depth-cascaded system starts at 00000 and goes up to 11110. 11111 is reserved for a special broadcast address that selects all cascaded search engines in the system. on a broadcast read-only, the device with the ldev bit set to 1 responds. supplies v dd n/a chip core supply . 1.8v. v ddq n/a chip i/o supply . 2.5v or 3.3v. test access port tdi i test access port?s test data in. tck i test access port?s test clock. tdo t test access port?s test data out. tms i test access port?s test mode select. trst_l i test access port?s reset. table 5-1. cynse70032 signal description (continued) parameter type [1] description
cynse7003 2 document #: 38-02042 rev. *e page 13 of 126 6.0 clocks the cynse70032 device receives the clk2x and phs_l signals. it uses the phs_l signal to divide clk2x and generate an internal clock (clk [3] ), as shown in figure 6-1 . the cynse70032 device uses clk2x and clk for internal operations. 7.0 registers all registers in the cynse70032 are 68 bits wide. the cynse70032 device contains sixteen pairs of comparand storage registers, eight pairs of gmrs, eight search successful index r egisters and one each of command, information, burst read, burst write, and next-free address registers. table 7-1 provides an overview of all the cynse70032 registers. the registers are listed in ascending address order. each register group is then described in the subsections that follow. 7.1 comparand registers the device contains 32 68-bit comparand registers (sixteen pairs) dynamically selected in every search operation to store the comparand presented on the dq bus. the learn command will later use these registers when it is executed. the cynse70032 device stores the search command?s cycle a comparand in the even-numbered register and its cycle b comparand in the odd-numbered register, as shown in figure 7-1 . notes: 3. any reference to ?clk? cycles means one cycle of clk. 4. .?clk? is an internal clock signal. table 7-1. register overview address abbreviation type name 0?31 comp0?31 r sixteen pairs of comparand registers that store comparands from the dq bus for learning later. 32?47 masks rw eight gmr pairs. 48?55 ssr0?7 r eight search successful index registers. 56 command rw command register. 57 info r information register. 58 rburreg rw burst read register. 59 wburreg rw burst write register. 60 nfa r next-free address register. 61?63 ? ? reserved. clk2x phs_l figure 6-1. cynse70032 clocks (clk2x and phs_l) clk [4] 135 0 68 68 1 0 3 2 5 4 7 6 30 31 index 0 15 1 address figure 7-1. comparand register selection during search and learn instructions
cynse7003 2 document #: 38-02042 rev. *e page 14 of 126 7.2 mask registers the device contains sixteen 68-bit global mask registers (eight pairs) dynamically selected in every search operation to select the search subfield. the addressing of these registers is explained in figure 7-2 . the three-bit gmr index supplied on the cmd bus can apply eight pairs of global masks during the search and write operations, as shown below. note . in 68-bit search and write operations, the host asic must program both the even and odd mask registers with the same values. each mask bit in the gmrs is used during search and write operations. in search operations, setting the mask bit to 1 enables compares; setting the mask bit to 0 disables compares (forced match) at the corresponding bit position. in write operations to the data or mask array, setting the mask bit to 1 enables writes; setting the mask bit to 0 disables writes at the correspondin g bit position. 7.3 search successful registers (ssr[0:7]) the device contains eight ssrs to hold the index of the location where a successful search occurred. the format of each registe r is described in table 7-2 . the search command specifies which ssr stores the index of a specific search command in cycle b of the search instruction. subsequently, the host asic can use this register to access that data array, mask array, or external sram using the index as part of the indirect access address (see table 7-2 and table 8-1 ). the device with a valid bit set performs a read or write operation. all other devices suppress the operation. 8.0 command register table 8-1 describes the command register fields. table 7-2. search successful register description field range initial value description index [13:0] x index . this is the address of the 68-bit entry where a successful search occurs. the device updates this field only when the search is successful. if a hit occurs in a 136-bit entry-size quadrant, the least significant bit (lsb) is 0. if a hit occurs in a 272-bit entry-size quadrant, the two lsbs are 00. this index updates if the device is either a local or global winner in a search operation. ? [30:14] 0 reserved . valid [31] 0 valid . during a search operation in a depth-cascaded configuration, the device that is a global winner in a match sets this bit to 1. it updates only when the device is a global winner in a search operation. ? [67:32] 0 reserved . table 8-1. command register description field range initial value description srst [0] 0 software reset . if 1, this bit resets the device with the same effect as a hardware reset. internally, it generates a reset pulse lasting for eight clk cycles. this bit automatically resets to 0 after the reset has completed. deve [1] 0 device enable . if 0, it keeps the sram bus (sadr, we_l, ce_l, oe_l, and ale_l), ssf, and ssv signals in a three-state condition and forces the cascade interface output signals lho[1:0] and bho[2:0] to 0. it also keeps the dq bus in input mode. the purpose of this bit is to make sure that there are no bus contentions when the devices power up in the system. 001 123 245 367 489 51011 61213 71415 index 135 68 68 search and write command global mask selection 0 figure 7-2. addressing the global mask register array
cynse7003 2 document #: 38-02042 rev. *e page 15 of 126 9.0 information register table 9-1 describes the information register fields. tlsz [3:2] 01 table size . the host asic must program this field to configure the chips into a table of a certain size. this field affects the pipeline latency of the search and learn operations as well as the read and write accesses to the sram (sadr[21:0], ce_l, oe_l, we_l, ale_l, ssv, ssf, and ack). once programmed, the search latency stays constant. the latency by number of clk cycles is as follows: 00: one device 4 01: up to eight devices 5 10: up to 31 devices 6 11: reserved. hlat [6:4] 000 latency of hit signals . this field further adds latency to the ssf and ssv signals by the following number of clk cycles during searches and acks in an sram read access: 000: 0 100: 4 001: 1 101: 5 010: 2 110: 6 011: 3 111: 7. ldev [7] 0 last device in the cascade . when set, this is the last device in the depth-cascaded table and is the default driver for the ssf and ssv signals. in the event of a search failure, the device with this bit set drives the hit signals as follows: ssf = 0, ssv = 1. during nonsearch cycles, the device with this bit set drives the signals as follows: ssf = 0, ssv = 0. lram [8] 0 last device on the sram bus . when set, this device is the last device on the sram bus in the depth-cascaded table and is the default driver for the sadr, ce_l, we_l, and ale_l signals. in cycles where no cynse70032 device (in a depth-cascaded table) drives these signals, the signals are driven as follows: sadr = 22?h3fffff, ce_l = 1, we_l = 1, and ale_l = 1. oe_l is always driven by the device for which this bit is set. cfg [16:9] 00000000 database configuration . the device is divided internally into four partitions of 8k 68 bits, each of which can be configured as 8k 68 bits, 4k 136 bits, or 2k 272 bits, as follows: 00: 4k 68 bits 01: 2k 136 bits 10: 1k 272 bits 11: reserved. bits[10:9] apply to configuring the first partition in the address space. bits[12:11] apply to configuring the second partition in the address space. bits[14:13] apply to configuring the third partition in the address space. bits[16:15] apply to configuring the fourth partition in the address space. [67:17] 0 reserved . table 9-1. information register description field range initial value description revision [3:0] 0001 revision number . this is the current device revision number. numbers start at one and increment by one for each revision of the device. implementation [6:4] 000 this is the device implementation number. reserved [7] 0 reserved . device id [11:8] 0001 this is the device identification number. device id [12] 0 or 1 reserved . device id [15:13] 000 these are the three most significant bits of the device identification number. mfid [31:16] 1101_1100_0111_1111 manufacturer id . this field is the same as the manufacturer identifi- cation number and continuation bits in the tap controller. reserved [67:32] reserved . table 8-1. command register description (continued) field range initial value description
cynse7003 2 document #: 38-02042 rev. *e page 16 of 126 9.1 read burst address register table 9-2 shows the read burst address register (rburreg) fields that must be programmed before a burst read. 9.2 write burst address register description table 9-3 describes the write burst address register (wburreg) fields that must be programmed before a burst write. 9.3 nfa register bit[0] of each 68-bit data entry is specially designated for use in the operation of the learn command. for 68-bit-configured quadrants, this bit indicates whether a location is full (bit set to 1) or empty (bit set to 0). every write or learn command l oads the address of the first 68-bit location containing a 0 into the entry?s bit[0]. this is stored in the nfa register (see table 9-4 ). if all the bits[0] in a device are set to 1, the cynse70032 asserts fulo[1:0] to 1. for a 136-bit-configured quadrants, the lsb of the nfa register is always set to 0. the host asic must set both bit[0] and bit[ 68] in a 136-bit word to either 0 or 1 to indicate full or empty status. both bit[0] and bit[68] must be set to either 0 or 1, (tha t is, the 10 or 01 settings are invalid). table 9-2. read burst register description field range initial value description adr [13:0] 0 address . this is the starting address of the data or mask array during a burst read operation. it automatically increments by one for each successive read of the data or mask array. once the operation is complete, the contents of this field must be reinitialized for the next operation. [18:14] reserved . blen [27:19] 0 length of burst access . the device provides the capability to read from 4?511 locations in a single burst. the blen decrements automatically. once the operation is complete, the contents of this field must be reinitialized for the next operation. [67:28] reserved . table 9-3. write burst register description field range initial value description adr [13:0] 0 address . this is the starting address of the data or mask array during a burst write operation. it automatically increments by one for each successive write of the data or mask array. once the operation is complete, the contents of this field must be reinitialized for the next operation. [18:14] reserved . blen [27:19] 0 length of burst access . the device provides the capability to write from 4?511 locations in a single burst. the blen decrements automatically. once the operation is complete, the contents of this field must be reinitialized for the next operation. [67:28] reserved . table 9-4. nfa register address 67?14 13?0 60 reserved index
cynse7003 2 document #: 38-02042 rev. *e page 17 of 126 10.0 nse architecture and operation overview the cynse70032 device consists of 16k 68-bit storage cells referred to as data bits. there is a mask cell corresponding to each data cell. figure 10-1 shows the three organizations of the device based on the value of the cfg bits in the command register. during a search operation, the search data bit (s), the data array bit (d), the mask array bit (m), and the global mask bit (g) are used in the following manner to generate a match at that bit position (see table 10-1 ). the entry with a match on every bit position results in a successful search during a search operation. in order for a successful search to make the device the local wi nner in the search operation, all 68-bit positions within a devi ce must generate a match for a 68-bit entry in 68-bit-configured quadrants, or all 136-bit positions must generate a match for two consecutive even and odd 68-bit entries in quadrants configured as 136 bits, or all 272-bit positions must generate a match for four consecutive entries aligned to four entry-page boundar ies of 68-bit entries in quadrants configured as 272 bits. an arbitration mechanism using a cascade bus determines the global winning device among the local winning devices in a search cycle. the global winning device drives the sram bus, ssv, and the ssf signals. in the case of a search failure, the device(s) with ldev and lram bits set drive the sram bus, ssf, and ssv signals. the cynse70032 device can be configured to contain tables of different widths, even within the same chip. figure 10-2 shows a sample configuration of different widths. table 10-1. bit position match gmd smatch 0xxx1 10xx1 11001 11100 11010 11111 data 8 k 136 data masks 4 k 272 cfg = 01010101 cfg = 10101010 data masks 16k 68 cfg = 00000000 masks figure 10-1. cynse70032 database width configuration
cynse7003 2 document #: 38-02042 rev. *e page 18 of 126 11.0 data and mask addressing figure 11-1 shows cynse70032 data and mask array addressing. 12.0 commands a master device such as an asic controller issues commands to the cynse70032 device using the command valid (cmdv) signal and the cmd bus. the following subsections describe the operation of the commands. 12.1 command codes the cynse70032 device implements four basic commands, shown in table 12-1 . the command code must be presented to cmd[1:0] while keeping the cmdv signal high for two clk2x cycles (cycles a and b). the controller asic must align the instructions using the phs_l signal. the cmd[8:2] field passes the parameters of the command in cycles a and b. table 12-1. command codes command code command description 00 read reads one of the following: data array, mask array, device registers, or external sram. 01 write writes one of the following: data array, mask array, device registers, or external sram. 10 search searches the data array for a desired pa ttern using the specified register from the gmr array and local mask associated with each data cell. 11 learn the device has internal storage for up to 16 comparands that it can learn. the device controller can insert these entries at the next free address (as specified by the nfa register) using the learn instruction. 2 k 136 4 k 68 4 k 68 1 k 272 figure 10-2. multiwidth database configurations cfg = 10010000 cfg = 00000000 cfg = 10101010 67 0 68 0 1 2 3 16383 283 0 68 68 3 2 1 0 7 6 5 4 16380 16381 16382 16383 68 68 cfg = 01010101 135 0 68 68 1 0 3 2 5 4 7 6 16382 16383 (68-bit configuration) (272-bit configuration) (136-bit configuration) 16k 4k 64k figure 11-1. addressing cynse70032 data and mask arrays
cynse7003 2 document #: 38-02042 rev. *e page 19 of 126 12.2 commands and command parameters table 12-2 lists the cmd bus fields that contain the cynse70032 command parameters and their respective cycles. each command is described separately in the subsections that follow. 12.3 read command the read can be a single read of a data array, a mask array, an sram, or a register location (cmd[2] = 0). it can be a burst read of the data (cmd[2] = 1) or mask array locations using an internal autoincrementing address register (rburadr). a description of each type is provided in table 12-3 . a single-location read operation lasts six cycles, as shown in figure 12-1 . the burst read adds two cycles for each successive read. the sadr[21:19] bits supplied in read instruction cycle a drive sadr[21:19] signals during the read of an sram location. note: 5. the 272-bit-configured devices or 272-bit-configured quadrants within devices do not support the learn instruction. table 12-2. command parameters commandcyc876543210 read a sadr[21] sadr[20] sadr[19] 0 0 0 0 = single 1 = burst 00 b 0 0 0 0 0 0 0 = single 1 = burst 00 write a sadr[21] sadr[20] sadr[19] gmr index [2:0] 0 = single 1 = burst 01 b 0 0 0 gmr index [2:0] 0 = single 1 = burst 01 search a sadr[21] sadr[20] sadr[19] gmr index 2:0] 68-bit or 136-bit: 0 272-bit: 1 in first cycle 0 in second cycle 10 b ssr index[2:0] comparand register index 1 0 learn [5] a sadr[21] sadr[20] sadr[19] comparand register index 1 1 b0 0 mode 0: 68-bit 1: 136-bit comparand register index 1 1 table 12-3. read command parameters command parameter cmd[2] read command description 0 single read reads a single location of the data array, mask array, external sram, or device registers. all access information is applied on the dq bus. 1 burst read reads a block of locations from the data or mask arrays as a burst. the rburadr specifies the starting address and the length of the data transfer from the data or mask array, and it autoincrements the address for each access. all other access information is applied on the dq bus. note . the device registers and external sram can only be read in single-read mode.
cynse7003 2 document #: 38-02042 rev. *e page 20 of 126 the single read operation takes six clock cycles that are performed in the following sequence.  cycle 1 : the host asic applies the read instruction on cmd[1:0] (cmd[2] = 0) using cmdv = 1, and the dq bus supplies the address as shown in table 12-4 and table 12-5 . the host asic selects the cynse70032 device for which id[4:0] matches the dq[25:21] lines. if dq[25:21] = 11111, the host asic selects the cynse70032 with the ldev bit set. the host asic also supplies sadr[21:19] on cmd[8:6] in cycle a of the read instruction if the read is directed to the external sram.  cycle 2 : the host asic floats dq[67:0] to a three-state condition.  cycle 3 : the host asic keeps dq[67:0] in a three-state condition.  cycle 4 : the selected device starts to drive the dq[67:0] bus, and drives the ack signal from z to low.  cycle 5 : the selected device drives the read data from the addressed location on the dq[67:0] bus, and drives the ack signal high.  cycle 6 : the selected device floats the dq[67:0] to a three-state condition and drives the ack signal low. at the termination of cycle 6, the selected device releases the ack line to a three-state condition. the read instruction is complete, and a new operation can begin. note . the latency of the sram read will be different than the one described above (see subsection 15.2, ?sram pio access? on page 99). table 12-4 lists and describes the format of the read address for a data array, mask array, or sram. table 12-5 describes the read address format for the internal registers. figure 12-2 illustrates the timing diagram for the burst read of the data or mask array. table 12-4. read address format for data array, mask array, or sram dq [67:30] dq [29] dq [28:26] dq [25:21] dq [20:19] dq [18:14] dq[13:0] reserved 0: direct 1: indirect ssr index (applicable if dq[29] is indirect) id 00: data array reserved if dq[29] is 0, this field carries the address of the data array location. if dq[29] is 1, the ssr index specified on dq[28:26] is used to generate the address of the data array location: {ssr[13:2], ssr[1] | dq[1], ssr[0] | dq[0]}. [6] reserved 0: direct 1: indirect ssr index (applicable if dq[29] is indirect) id 01: mask array reserved if dq[29] is 0, this field carries the address of the mask array location. if dq[29] is 1, the ssr index specified on dq[28:26] is used to generate the address of the mask array location: {ssr[13:2], ssr[1] | dq[1], ssr[0] | dq[0]}. [6] reserved 0: direct 1: indirect ssr index (applicable if dq[29] is indirect) id 10: external sram reserved if dq[29] is 0, this field carries the address of the sram location. if dq[29] is 1, the ssr index specified on dq[28:26] is used to generate the address of the sram location: {ssr[13:2], ssr[1] | dq[1], ssr[0] | dq[0]}. [6] note: 6. ? | ? stands for logical or operation. ?{}? stands for concatenation operator. cycle cycle cycle cycle cycle cycle read address xdata 1 2 345 6 clk2x cmdv cmd[1:0] ack dq cmd[8:2] a b phs_l figure 12-1. single-location read cycle timing
cynse7003 2 document #: 38-02042 rev. *e page 21 of 126 the read operation lasts 4 + 2n clk cycles (where n is the number of accesses in the burst specified by the blen field of the rburreg) in the sequence shown below. this operation assumes that the host asic has programmed the rburreg with the adr and the blen before initiating a burst read command.  cycle 1 : the host asic applies the read instruction on cmd[1:0] (cmd[2] = 1) using cmdv = 1 and the address supplied on the dq bus as shown in table 12-6 . the host asic selects the cynse70032 device where id[4:0] matches the dq[25:21] lines. if dq[25:21] = 11111, the host asic selects the cynse70032 device with the ldev bit set.  cycle 2 : the host asic floats dq[67:0] to a three-state condition.  cycle 3 : the host asic keeps dq[67:0] in a three-state condition.  cycle 4 : the selected device starts to drive the dq[67:0] bus, and drives ack and eot from z to low.  cycle 5 : the selected device drives the read data from the addressed location on the dq[67:0] bus and drives the ack signal high. cycles 4 and 5 repeat for each additional access until all the accesses specified in the blen field of the rburreg are complete . on the last transfer, the cynse70032 device drives the eot signal high.  cycle (4 + 2n) : the selected device drives the dq[67:0] to a three-state condition, and drives the ack and eot signals low. at the termination of cycle (4 + 2n), the selected device floats the ack line to a three-state condition. the burst read instru ction is complete, and a new operation can begin. table 12-6 describes the read address format for data and mask arrays for burst read operations. 12.4 write command the write command can be a single write of a data array, mask array, register, or an external sram location (cmd[2] = 0). it can also be a burst write (cmd[2] = 1) using an internal auto-incrementing address register (wburadr) of the data or mask array locations. a single-location write is a three-cycle operation as shown in figure 12-3 . the burst write adds one extra cycle for each successive location write. table 12-5. read address format for internal registers dq[67:26] dq[25:21] dq[20:19] dq[18:6] dq[5:0] reserved id 11: register reserved register address table 12-6. read address format for data and mask arrays dq[67:26] dq[25:21] dq[20:19] dq[18:14] dq[13:0] reserved id 00: data array reserved do not care . these fifteen bits come from the internal rburadr, which increments for each access. reserved id 01: mask array reserved do not care . these fifteen bits come from the internal rburadr, which increments for each access. cmdv cmd[1:0] ack eot dq ff ff data1 cycle 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 cycle 11 cycle 12 data0 data2 ff data3 ff phs_l cmd[8:2] address a b read clk2x figure 12-2. burst read of the data and mask arrays (blen = 4)
cynse7003 2 document #: 38-02042 rev. *e page 22 of 126 the following is the write operation sequence, and table 12-7 shows the write address format for the data array, the mask array, or the single-write sram. table 12-8 shows the write address format for the internal registers.  cycle 1a : the host asic applies the write instruction to cmd[1:0] (cmd[2] = 0) using cmdv = 1 and the address supplied on the dq bus. the host asic also supplies the gmr index to mask the write to the data or mask array location on cmd[5:3]. for sram writes, the host asic must supply sadr[21:19] on cmd[8:6].  cycle 1b : the host asic continues to apply the write instruction to cmd[1:0] (cmd[2] = 0) using cmdv = 1 and the address supplied on the dq bus. the host asic continues to supply the gmr index to mask the write to the data or mask array locations in cmd[5:3]. the host asic selects the device where id[4:0] matches the dq[25:21] lines, or it selects all the device s when dq[25:21] = 11111.  cycle 2 : the host asic drives the dq[67:0] with the data to be written to the data array, the mask array, or the register location of the selected device.  cycle 3 : idle cycle. at the termination of cycle 3, another operation can begin. note . the latency of the sram write will be different than the one described above (see subsection 15.2, ?sram pio access? on page 99). figure 12-4 shows the timing diagram of a burst write operation of the data or mask array. table 12-7. write address format for data array, mask array, or sram (single write) dq [67:30] dq [29] dq [28:26] dq [25:21] dq [20:19] dq [18:14] dq[13:0] reserved 0: direct 1: indirect ssr (applicable if dq[29] is indirect) id 00: data array reserved if dq[29] is 0, this field carries the address of the data array location. if dq[29] is 1, the ssr specified on dq[28:26] is used to generate the address of the data array location: {ssr[13:2], ssr[1] | dq[1], ssr[0] | dq[0]}. [6] reserved 0: direct 1: indirect ssr (applicable if dq[29] is indirect) id 01: mask array reserved if dq[29] is 0, this field carries the address of the mask array location. if dq[29] is 1, the ssr specified on dq[28:26] is used to generate the address of the mask array location: {ssr[13:2], ssr[1] | dq[1], ssr[0] | dq[0]}. [6] reserved 0: direct 1: indirect ssr (applicable if dq[29] is indirect) id 10: external sram reserved if dq[29] is 0, this field carries the address of the sram location. if dq[29] is 1, the ssr specified on dq[28:26] is used to generate the address of the sram location: {ssr[13:2], ssr[1] | dq[1], ssr[0] | dq[0]}. [6] table 12-8. write address format for internal registers dq[67:26] dq[25:21] dq[20:19] dq[18:6] dq[5:0] reserved id 11: register reserved register address cycle 2 cycle 3 write address data cmdv cmd[1:0] dq x cycle 1 cycle 0 cycle 4 cmd[8:2] b phs_l a clk2x figure 12-3. single write cycle timing
cynse7003 2 document #: 38-02042 rev. *e page 23 of 126 the burst write operation lasts for (n + 2) clk cycles. n signifies the number of accesses in the burst as specified in the ble n field of the wburreg. the following is the block write operation sequence. this operation assumes that the host asic has programmed the wburreg with the adr and the blen before initiating a burst write command.  cycle 1a : the host asic applies the write instruction to cmd[1:0] (cmd[2] = 1) using cmdv = 1, and the address supplied on the dq bus, as shown in table 12-9 . the host asic also supplies the gmr index to mask the write to the data or mask array locations in cmd[5:3].  cycle 1b : the host asic continues to apply the write instruction on cmd[1:0] (cmd[2] = 1) using cmdv = 1 and the address supplied on the dq bus. the host asic continues to supply the gmr index to mask the write to the data or mask array locations in cmd[5:3]. the host asic selects the device for which id[4:0] matches the dq[25:21] lines. it selects all the devic es when dq[25:21] = 11111.  cycle 2 : the host asic drives the dq[67:0] with the data to be written to the data or mask array location of the selected device. the cynse70032 device writes the data from the dq[67:0] bus only to the subfield that has the corresponding mask bit set to 1 in the gmr specified by the index cmd[5:3]supplied in cycle 1.  cycles 3 to n + 1 : the host asic drives dq[67:0] with the data to be written to the next data or mask array location of the selected device (addressed by the auto-increment adr field of the wburreg register). the cynse70032 device writes the data on the dq[67:0] bus only to the subfield that has the corresponding mask bit set to 1 in the gmr that is specified by the index cmd[5:3] supplied in cycle 1. the cynse70032 device drives the eot signal low from cycle 3 to cycle n; the cynse70032 device drives the eot signal high in cycle n + 1 (n is specified in the blen field of the wburreg).  cycle n + 2 : thecynse70032 drives the eot signal low. at the termination of cycle n + 2, the cynse70032 device floats the eot signal to a three-state operation, and a new instructio n can begin. table 12-9. write address format for data and mask array (burst write) dq [67:26] dq [25:21] dq [20:19] dq [18:14] dq[13:0] reserved id 00: data array reserved do not care . these fifteen bits come from the internal wburadr, which increments with each access. reserved id 01: mask array reserved do not care . these fifteen bits come from the internal wburadr, which increments with each access. 1 data0 data1 data2 x data3 write address cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle cmd[1:0] dq clk2x eot cmd[8:2] a b phs_l cmdv figure 12-4. burst write of the data and mask arrays (blen = 4)
cynse7003 2 document #: 38-02042 rev. *e page 24 of 126 13.0 search command this subsection will describe the following searches.  68-bit search on tables configured as 68 using one device  68-bit search on tables configured as 68 using up to eight devices  68-bit search on tables configured as 68 using up to 31 devices  136-bit search on tables configured as 136 using one device  136-bit search on tables configured as 136 using up to eight devices  136-bit search on tables configured as 136 using up to 31 devices  272-bit search on tables configured as 272 using one device  272-bit search on tables configured as 272 using up to eight devices  272-bit search on tables configured as 272 using up to 31 devices  mixed-size searches on tables configured with different widths using an cynse70032 . 13.1 68-bit search on tables configured as 68 using a single cynse70032 device figure 13-1 shows the timing diagram for a search command in a 68-bit-configured table (cfg = 00000000) consisting of a single device for one set of parameters: tlsz = 00, hlat = 000, lram = 1, and ldev = 1. the hardware diagram for this search subsystem is shown in figure 13-2 . cycle clk2x cmdv cmd[1:0] dq ce_l oe_l hit hit miss miss cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 000, tlsz = 00, lram = 1, ldev = 1. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search3 search4 d1 d2 d3 d4 a1 a3 01 01 01 01 search1 search3 a b a b a b a b 0 1 0 0 1 1 0 1 1 0 0 0 1 0 1 1 0 1 1 0 0 0 1 0 0 1 1 1 figure 13-1. timing diagram for 68-bit search in 68 table (one device)
cynse7003 2 document #: 38-02042 rev. *e page 25 of 126 the following is the sequence of operation for a single 68-bit search command (also refer to ?command and command param- eters,? subsection 12.2 on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven by the index to the gmr pair for use in this s earch operation. cmd[8:6] signals must be driven with the same bits that will be driven on sadr[21:19] by this device if it has a hit. dq[67:0] must be driven with the 68-bit data to be compa red. the cmd[2] signal must be driven to logic 0.  cycle b : the host asic continues to drive cmdv high and to apply search command (10) on cmd[1:0]. cmd[5:2] must be driven by the index of the comparand register pair for storing the 136-bit word presented on the dq bus during cycles a and b. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching entry and the hit flag (see page 14 for information on ssr[0:7]). the dq[67:0] continues to carry the 68-bit data to be compared. note . for 68-bit searches, the host asic must supply the same 68-bit data on dq[67:0] during both cycles a and b. the even and odd gmr pairs selected for the compare must be programmed with the same value. the logical 68-bit search operation is shown in figure 13-3 . the entire table of 68-bit entries is compared to a 68-bit word k (presented on the dq bus in both cycles a and b of the command) using the gmr and the local mask bits. the effective gmr is the 68-bit word specified by the identical value in both even and odd gmr pairs selected by the gmr index in the command?s cycle a. the 68-bit word k (presented on the dq bus in both cycles a and b of the command) is also stored in both even and odd comparand register pairs selected by the comparand register index in the command?s cycle b. in a 68 configuration, only the even comparand register can subsequently be used by the learn command. the word k (presented on the dq bus in both cycles a and b of the command) is compared with each entry in the table, starting at location 0. the first matching entry?s loc ation address l is the winning address that is driven as part of the sram address on the sadr[21:0] lines (see ?sram addressing? on page 98). the search command is a pipelined operation and executes a search at half the rate of the frequency of clk2x for 68-bit searches in 68-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 68-bit search command cycle (which is two clk2x cycles) is shown in table 13-1 . lho[0] 6543210 lhi lho[1] bhi[2:0] dq[67:0] sram cynse70032 cmdv, cmd[8:0] bhi[2:0] ssf, ssv figure 13-2. hardware diagram for a table with a single device cfg = 00000000 67 0 location 0 1 2 3 16383 (68-bit configuration) address k gmr comparand register (odd) comparand register (even) k k 67 0 67 0 (first matching entry) l figure 13-3. 68 table with one device
cynse7003 2 document #: 38-02042 rev. *e page 26 of 126 search latency from command to sram access cycle is 4 for a single device in the table with tlsz = 00. in addition, ssv and ssf shift further to the right for different values of hlat as specified in table 13-2 . 13.2 68-bit search on tables configured as 68 using up to eight cynse70032 devices the hardware diagram of the search subsystem of eight devices is shown in figure 13-4 . the following are the parameters programmed into the eight devices.  first seven devices (devices 0?6): cfg = 00000000, tlsz = 01, hlat = 010, lram = 0, and ldev = 0.  eighth device (device 7): cfg = 00000000, tlsz = 01, hlat = 010, lram = 1, and ldev = 1. note . all eight devices must be programmed with the same values for tlsz and hlat. only the last device in the table (device number 7 in this case) must be programmed with lram = 1 and ldev = 1. all other upstream devices (devices 0 through 6 in this case) must be programmed with lram = 0 and ldev = 0. figure 13-5 shows the timing diagram for a search command in the 68-bit-configured table of eight devices for device number 0. figure 13-6 shows the timing diagram for a search command in the 68-bit-configured table of eight devices for device number 1. figure 13-7 shows the timing diagram for a search command in the 68-bit-configured table of eight devices for device number 7 (the last device in this specific table). for these timing di agrams four 68-bit searches are performed sequentially. hit/miss assumptions were made as shown below in table 13-3 . table 13-1. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 16k 68 bits 4 1?8 (tlsz = 01) 128k 68 bits 5 1?31 (tlsz = 10) 496k 68 bits 6 table 13-2. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 table 13-3. hit/miss assumption search number 1 2 3 4 device 0 hit miss hit miss device 1 miss hit hit miss devices 2?6 miss miss miss miss device 7 miss miss hit hit
cynse7003 2 document #: 38-02042 rev. *e page 27 of 126 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 65 4 3210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #6 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] ssf, ssv figure 13-4. hardware diagram for a table with eight devices
cynse7003 2 document #: 38-02042 rev. *e page 28 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l (this device cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 010, tlsz = 01, lram = 0, ldev = 0. n ote: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search3 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b a1 a3 z z z z z z z z z z z z z z z 0 0 1 0 0 1 1 1 1 1 z z z z is the global winner.) |(lhi[6:0]) 0 this device.) lho[1:0] search2 (miss on (this device is the global winner.) this device.) (miss on figure 13-5. timing diagram for 68-bit search device number 0
cynse7003 2 document #: 38-02042 rev. *e page 29 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l (miss on cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 cfg = 00000000, hlat = 010, tlsz = 01, lram = 0, ldev = 0. note: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. note: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search3 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b a2 z z z z 1 1 z z (local but not global |(lhi[6:0]) lho[1:0] z 0 z z 0 z z 1 z this device.) (this device winner.) (miss on this device.) is global winner.) figure 13-6. timing diagram for 68-bit search device number 1
cynse7003 2 document #: 38-02042 rev. *e page 30 of 126 the following is the sequence of operation for a single 68-bit search command (also refer to ?command and command param- eters,? subsection 12.2 on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) to cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair for use in this search operation. cmd[8:6] signals must be driven with the same bits that will be driven on sadr[21:19] by this device if it has a hit. dq[67:0] must be driven with the 68-bit data to be compa red. the cmd[2] signal must be driven to logic 0.  cycle b : the host asic continues to drive cmdv high and to apply search command (10) on cmd[1:0]. cmd[5:2] must be driven by the index of the comparand register pair for storing the 136-bit word presented on the dq bus during cycles a and b. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching entry and hit flag (see page 14 for a description of ssr[0:7]). the dq[67:0] continues to carry the 68-bit data to be compared. note . for 68-bit searches, the host asic must supply the same 68-bit data on dq[67:0] during both cycles a and b. the even and odd gmr pairs selected for the comparison must also be programmed with the same value. the logical 68-bit search operation is shown in figure 13-8 . the entire table of eight devices of 68-bit entries is compared to a 68-bit word k (presented on the dq bus in both cycles a and b of the command) using the gmr and local mask bits. the effective gmr is the 68-bit word specified by the identical value in both even and odd gmr pairs in each of the eight devices and selecte d by the gmr index in the command?s cycle a. the 68-bit word k (presented on the dq bus in both cycles a and b of the command) is also stored in both even and odd comparand register pairs (selected by the comparand register index in command cycle b) in each of the eight devices. in the 68 configuration, only the even comparand register can subsequently be used by the learn command in one of the devices (the first non-full device only). the word k (presented on the dq bus in both cycles a and b of cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 cfg = 00000000, hlat = 010, tlsz = 01, lram = 1, ldev = 1. note: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. note: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv search1 search2 search3 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b a4 0 |(lhi[6:0]) lho[1:0] 0 z 0 0 z 0 ale_l we_l 1z 1 0 z 1 0 0 z 1 0 search4 (global winner.) z (miss on this device.) (miss on this device.) (local but not global winner.) figure 13-7. timing diagram for 68-bit search device number 7 (last device)
cynse7003 2 document #: 38-02042 rev. *e page 31 of 126 the command) is compared with each entry in the table, starting at location 0. the first matching entry?s location address l is the winning address that is driven as part of the sram address on the sadr[21:0] lines (see ?sram addressing? on page 98). the global winning device will drive the bus in a specific cycle. on a global miss cycle the device with lram = 1 (default driving d evice for the sram bus) and ldev = 1 (default driving device for ssf and ssv signals) will be the default driver for such missed cycles . the search command is a pipelined operation and executes a search at half the rate of the frequency of clk2x for 68-bit searches in 68-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 68-bit search command cycle (two clk2x cycles) is shown in table 13-4 . search latency from command to sram access cycle is 5 for up to eight devices in the table (tlsz = 01). ssv and ssf also shift further to the right for different values of hlat as specified in table 13-5 . 13.3 68-bit search on tables configured as 68 using up to 31 cynse70032 devices the hardware diagram of the search subsystem of 31 devices is shown in figure 13-9 . each of the four blocks in the diagram represents eight cynse70032 devices (except the last, which has seven devices). the diagram for a block of eight devices is shown in figure 13-10 . the following are the parameters that are programmed into the 31 devices.  first thirty devices (devices 0?29): cfg = 00000000, tlsz = 10, hlat = 001, lram = 0, and ldev = 0.  thirty-first device (device 30): cfg = 00000000, tlsz = 10, hlat = 001, lram = 1, and ldev = 1. note . all devices must be programmed with the same values for tlsz and hlat. only the last device in the table (device number 30 in this case) must be programmed with lram = 1 and ldev = 1. all other upstream devices (devices 0 through 29 in this case) must be programmed with lram = 0 and ldev = 0. table 13-4. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 16k 68 bits 4 1?8 (tlsz = 01) 128k 68 bits 5 1?31 (tlsz = 10) 496k 68 bits 6 table 13-5. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 cfg = 00000000 67 0 location 1 2 3 131071 (68-bit configuration) address k gmr comparand register (odd) comparand register (even) k k 67 0 67 0 (first matching entry) l must be same in each of the eight devices will be the same in each of the eight devices 0 figure 13-8. 68 table with eight devices
cynse7003 2 document #: 38-02042 rev. *e page 32 of 126 the timing diagrams referred to in this paragraph reference the hit/miss assumptions defined in table 13-6 . for the purpose of illustrating timings, it is further assumed that the there is only one device with a matching entry in each of the blocks. figure 13-11 shows the timing diagram for a search command in the 68-bit-configured table of 31 devices for each of the eight devices in blo ck number 0. figure 13-12 shows a timing diagram for a search command in the 68-bit-configured table of 31 devices for all the devices in block number 1 (above the winning device in that block). figure 13-13 shows the timing diagram for the globally winning device (defined as the final winner within its own and all blocks) in block number 1. figure 13-14 shows the timing diagram for all the devices below the globally winning device in block number 1. figure 13-15 , figure 13-16 , and figure 13-17 , respectively, show the timing diagrams of the devices above the globally winning device, the globally winning device, and the devices below the globally winning device for block number 2. figure 13-18 , figure 13-19 , figure 13-20 , and figure 13-21 , respectively, show the timing diagrams of the devices above the globally winning device, the globally winning device, and the devices below the globally winning device except the last device (device 30) for block number 3. the 68-bit search operation is pipelined and executed as follows. four cycles from the search command, each of the devices knows the outcome internal to it for that operation. in the fifth cycle after the search command, the devices in a block arbitr ate for a winner amongst them (a ?block? being defined as less than or equal to eight devices resolving the winner between them using the lhi[6:0] and lho[1:0] signalling mechanisms). in the sixth cycle after the search command, the blocks resolve the winning block through the bhi[2:0] and bho[2:0] signalling mechanisms. the winning device within the winning block is the globa l winning device for a search operation. table 13-6. hit/miss assumption search number 1 2 3 4 block 0 miss miss miss miss block 1 miss miss hit miss block 2 miss hit hit miss block 3 hit hit miss miss bho[2] block of 8 cynse70032s block 0 (devices 0?7) bho[1] bho[0] bhi[2] bhi[1] bhi[0] bhi[2] block of 7 cynse70032s block 3 (devices 24?30) bhi[1] bhi[0] gnd bho[2] bho[1] bho[0] bhi[2] bhi[1] bhi[0] gnd bhi[2] bhi[1] bhi[0] gnd block of 8 cynse70032s block 1 (devices 8?15) block of 8 cynse70032s block 2 (devices 16?23) dq[67:0] sram bho[2] bho[2] bho[1] bho[1] bho[0] bho[0] cmd[8:0], cmdv ssf, ssv figure 13-9. hardware diagram for a table with 31 devices
cynse7003 2 document #: 38-02042 rev. *e page 33 of 126 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 65 4 3 210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] bhi[2:0] ssv, ssf cynse70032 #6 figure 13-10. hardware diagram for a block of up to eight devices
cynse7003 2 document #: 38-02042 rev. *e page 34 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-11. timing diagram for each device in block number 0 (miss on each device)
cynse7003 2 document #: 38-02042 rev. *e page 35 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0)] stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-12. timing diagram for each device above the winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 36 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 a3 (miss on this device.) (miss on this device.) (miss on this device.) (this device is global winner.) figure 13-13. timing diagram for globally winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 37 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-14. timing diagram for devices below the winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 38 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-15. timing diagram for devices above the winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 39 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 (global winner.) (miss on i(bhi[2:0]) 0 (miss on search3 (hit but not |(lhi[6:0]) 0 bho[2:0] 0 a2 0 z 0 1 1 1 z z z z z z this device.) winner.) this device.) figure 13-16. timing diagram for globally winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 40 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 z (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-17. timing diagram for devices below the winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 41 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 z (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-18. timing diagram for devices above the winning device in block number 3
cynse7003 2 document #: 38-02042 rev. *e page 42 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 (hit but not i(bhi[2:0]) 0 (global winner.) search3 (miss on |(lhi[6:0]) 0 bho[2:0] 0 a1 0 z 0 1 1 1 z z z z z z this device.) (miss on this device.) global winner.) figure 13-19. timing diagram for globally winning device in block number 3
cynse7003 2 document #: 38-02042 rev. *e page 43 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 z (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-20. timing diagram for devices below the winning device in block number 3 (except the last device [device number 30])
cynse7003 2 document #: 38-02042 rev. *e page 44 of 126 the following is the sequence of operation for a single 68-bit search command (also refer to ?command and command param- eters,? subsection 12.2 on page 19).  cycle a: the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair for use in this search operation. cmd[8:6] signals must be driven with the same bits that will be driven on sadr[21:19] by this device if it has a hit. dq[67:0] must be driven with the 68-bit data to be comp ared. the cmd[2] signal must be driven to logic 0.  cycle b: the host asic continues to drive cmdv high and applies search command (10) on cmd[1:0]. cmd[5:2] must be driven by the index of the comparand register pair for storing the 136-bit word presented on the dq bus during cycles a and b. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching entry and the hit flag (see page 14 for the description of ssr[0:7]). the dq[67:0] continues to carry the 68-bit data to be compared. note . for 68-bit searches, the host asic must supply the same 68-bit data on dq[67:0] during both cycles a and b. the even and odd gmr pairs selected for the compare must be programmed with the same value. the logical 68-bit search operation is shown in figure 13-22 . the entire table (31 devices of 68-bit entries) is compared to a 68-bit word k (presented on the dq bus in both cycles a and b of the command) using the gmr and the local mask bits. the effective gmr is the 68-bit word specified by the identical value in both even and odd gmr pairs in each of the eight devices and selecte d cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 00000000, hlat = 001, tlsz = 10, lram = 1, ldev = 1. n ote: |(bhi[2:0)] stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z 0 0 lho[1:0] 0 (global miss; i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 z 0 0 0 z 1 z 1 0 0 z z 0 1 (hit on some device above.) (hit on some device above.) (hit on some device above.) this device default driver.) figure 13-21. timing diagram for device number 6 in block number 3 (device number 30 in depth-cascaded table)
cynse7003 2 document #: 38-02042 rev. *e page 45 of 126 by the gmr index in the command?s cycle a. the 68-bit word k (presented on the dq bus in cycles a and b of the command) is also stored in both even and odd comparand register pairs in each of the eight devices (and selected by the comparand register index in command?s cycle b). in the x68 configuration, the even comparand register can subsequently be used by the learn command, but only in the first non-full device. the word k (presented on the dq bus in cycles a and b of the command) is compared with each entry in the table, starting at location 0. the first matching entry?s location address l is the winning address that is driven as part of the sram address on the sadr[21:0] lines (see ?sram addressing? on page 98). the global winning device will drive the bus in a specific cycle. on global miss cycles the device with lram = 1 and ldev = 1 will be the default driver for such missed cycles. the search command is a pipelined operation and executes a search at half the rate of the frequency of clk2x for 68-bit searche s in 68-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 68-bit search command cycle (two clk2x cycles) is shown in table 13-7 . for up to 31 devices in the table (tlsz = 10), search latency from command to sram access cycle is 6. in addition, ssv and ssf shift further to the right for different values of hlat as specified in table 13-8 . 13.4 136-bit search on tables configured as 136 using a single cynse70032 device figure 13-23 shows the timing diagram for a search command in the 136-bit-configured table (cfg = 01010101) consisting of a single device for one set of parameters: tlsz = 00, hlat = 001, lram = 1, ldev = 1. the hardware diagram for this search subsystem is shown in figure 13-24 . table 13-7. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 16k 68 bits 4 1?8 (tlsz = 01) 128k 68 bits 5 1?31 (tlsz = 10) 496k 68 bits 6 table 13-8. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 cfg = 00000000 67 0 location 0 1 2 3 507903 (68-bit configuration) address k gmr comparand register (odd) comparand register (even) k k 67 0 67 0 (first matching entry) l must be same in each of the eight devices will be same in each of the eight devices figure 13-22. 68 table with 31 devices
cynse7003 2 document #: 38-02042 rev. *e page 46 of 126 the following is the operation sequence for a single 136-bit search command (also refer to ?command and command param- eters,? subsection 12.2 on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) to cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair for use in this search operation. cmd[8:6] signals must be driven with the same bits that will be driven on sadr[21:19] by this device if it has a hit. dq[67:0] must be driven with the 68-bit data ([135:68]) to be compared against all even locations. the cmd[2] signal must be driven to logic 0.  cycle b : the host asic continues to drive cmdv high and applies search command code (10) on cmd[1:0]. cmd[5:2] must be driven by the index of the comparand register pair for storing the 136-bit word presented on the dq bus during cycles a and b. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching entry and hit flag (see page 14 for the description of ssr[0:7]). the dq[67:0] is driven with 68-bit data ([67:0]), compared to all odd locations. cycle clk2x cmdv cmd[1:0] ce_l oe_l hit hit miss miss cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 cfg = 01010101, hlat = 001, tlsz = 00, lram = 1, ldev = 1. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search3 search4 a1 a3 01 01 01 01 search1 search3 a b a b a b a b 0 1 0 0 1 1 0 1 1 0 0 0 1 0 1 1 0 1 1 0 0 0 1 0 0 1 1 1 a b a b a b a b dq d1 d2 d3 d4 figure 13-23. timing diagram for 136-bit search (one device) lho[0] 6543210 lhi lho[1] bhi[2:0] dq[67:0] sram cynse70032 cmdv, cmd[8:0] bhi[2:0] ssf, ssv figure 13-24. hardware diagram for a table with one device
cynse7003 2 document #: 38-02042 rev. *e page 47 of 126 note . for 136-bit searches, the host asic must supply two distinct 68-bit data words on dq[67:0] during cycles a and b. the even-numbered gmr of the pair specified by the gmr index is used for masking the word in cycle a. the odd-numbered gmr of the pair specified by the gmr index is used for masking the word in cycle b. the logical 136-bit search operation is shown in figure 13-25 . the entire table of 136-bit entries is compared to a 136-bit word k (presented on the dq bus in cycles a and b of the command) using the gmr and local mask bits. the gmr is the 136-bit word specified by the even and odd global mask pair selected by the gmr index in the command?s cycle a. the 136-bit word k (presented on the dq bus in cycles a and b of the command) is also stored in both even and odd comparand register pairs selected by the comparand register index in the command?s cycle b. the two comparand registers can subsequently be used by the learn command with the even comparand register stored in an even location, and the odd comparand register stored in an adjacent odd location. the word k (presented on the dq bus in cycles a and b of the command) is compared with each entry in the table starting at location 0. the first matching entry?s location address l is the winning address that is driven as par t of the sram address on sadr[21:0] lines (see ?sram addressing? on page 98). note . the matching address is always going to be an even address for a 136-bit search. the search command is a pipelined operation that executes searches at half the rate of the frequency of clk2x for 136-bit searches in 136-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 136-bit search command cycle (two clk2x cycles) is shown in table 13-9 . for a single device in the table with tlsz = 00, the search latency from command to sram access cycle is 4. in addition, ssv and ssf shift further to the right for different values of hlat, as specified in table 13-10 . table 13-9. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 8k 136 bits 4 1?8 (tlsz = 01) 64k 136 bits 5 1?31 (tlsz = 10) 248k 136 bits 6 table 13-10. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 cfg = 01010101 135 0 location 0 2 4 6 16382 (136-bit configuration) address k gmr comparand register (odd) comparand register (even) a b 135 0 67 0 (first matching entry) l a b even odd figure 13-25. 136 table with one device
cynse7003 2 document #: 38-02042 rev. *e page 48 of 126 13.5 136-bit search on tables configured as 136 using up to eight cynse70032 devices the hardware diagram of the search subsystem of eight devices is shown in figure 13-26 . the following are parameters programmed into the eight devices.  first seven devices (devices 0?6): cfg = 01010101, tlsz = 01, hlat = 010, lram = 0, and ldev = 0.  eighth device (device 7): cfg = 01010101, tlsz = 01, hlat = 010, lram = 1, and ldev = 1. note . all eight devices must be programmed with the same value of tlsz and hlat. only the last device in the table (device number 7 in this case) must be programmed with lram = 1 and ldev = 1. all other upstream devices (devices 0 through 6 in this case) must be programmed with lram = 0 and ldev = 0. figure 13-27 shows the timing diagram for a search command in the 136-bit-configured table of eight devices for device number 0. figure 13-28 shows the timing diagram for a search command in the 136-bit-configured table consisting of eight devices for device number 1. figure 13-29 shows the timing diagram for a search command in the 136-bit configured table consisting of eight devices for device number 7 (the last device in this specific table). for these timing diagrams, four 136-b it searches are performed sequentially, and the following hit/miss assumptions were made (see table 13-11 ). table 13-11. hit/miss assumptions search number 1 2 3 4 device 0 hit miss hit miss device 1 miss hit hit miss device 2?6 miss miss miss miss device 7 miss miss hit hit
cynse7003 2 document #: 38-02042 rev. *e page 49 of 126 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 65 4 3210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #6 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] ssf, ssv figure 13-26. hardware diagram for a table with eight devices
cynse7003 2 document #: 38-02042 rev. *e page 50 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 010, tlsz = 01, lram = 0, ldev = 0. n ote: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search3 search4 01 01 01 01 search1 search3 a b a b a b a b a1 a3 z z z z z z z z z z z z z z z 0 0 1 0 0 1 1 1 1 1 z z z z |(lhi[6:0]) 0 lho[1:0] a b a b a b a b dq d1 d2 d3 d4 (miss on this device.) (this device is global winner.) (miss on this device.) (this device is global winner.) figure 13-27. timing diagram for 136-bit search device number 0
cynse7003 2 document #: 38-02042 rev. *e page 51 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l (miss cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 010, tlsz = 01, lram = 0, ldev = 0. n ote: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search3 search4 01 01 01 01 search1 search3 a b a b a b a b a2 z z z z 1 1 z z lhi[6:0] lho[1:0] z 0 z z 0 z z 1 z on this device.) a b a b a b a b dq d1 d2 d3 d4 (local but not global winner.) (miss on this device.) this device is global winner.) figure 13-28. timing diagram for 136-bit search device number 1
cynse7003 2 document #: 38-02042 rev. *e page 52 of 126 the following is the sequence of operation for a single 136-bit search command (also see subsection 12.2, ?commands and command parameters? on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair for use in this search operation. cmd[8:6] signals must be driven with the same bits that will be driven by this device on sadr[21:19] if it has a hit. dq[67:0] must be driven with the 68-bit data ([135:68]) in order to be compared against all even locations. the cmd[2] signal must be driven to logic 0.  cycle b : the host asic continues to drive cmdv high and to appl y search command code (10) on cmd[1:0]. cmd[5:2] must be driven by the index of the comparand register pair for storing the 136-bit word presented on the dq bus during cycles a and b. cmd[8:6] signals must be driven with the ssr index that will be used for storing the address of the matching entry and the hit flag (see page 14 for the description of ssr[0:7]). the dq[67:0] is driven with 68-bit data ([67:0]) compared against a ll odd locations. the host asic continues to drive cmdv high and to apply search command code (10) on cmd[1:0]. cmd[5:2] must be driven by the index of the comparand register pair for storing the 136-bit word presented on the dq bus during cycles a and b. cmd[8:6 ] signals must be driven with the ssr index that will be used for storing the address of the matching entry and the hit flag (see page 14 for the description of ssr[0:7]). the dq[67:0] is driven with 68-bit data ([67:0]) compared against all odd locations. the logical 136-bit search operation is shown in figure 13-30 . the entire table (eight devices of 136-bit entries) is compared to a 136-bit word k (presented on the dq bus in cycles a and b of the command) using the gmr and local mask bits. the gmr is the 136-bit word specified by the even and odd global mask pair selected by the gmr index in the command?s cycle a. cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 010, tlsz = 01, lram = 1, ldev = 1. n ote: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv search1 search2 search3 search4 01 01 01 01 search1 search3 a b a b a b a b a4 0 |(lhi[6:0]) lho[1:0] 0 z 0 0 z 0 ale_l we_l 1z 1 0 z 1 0 0 z 1 0 a b a b a b a b dq d1 d2 d3 d4 (miss on this device.) (miss on this device.) (local but not global winner.) (global winner.) figure 13-29. timing diagram for 136-bit search device number 7 (last device)
cynse7003 2 document #: 38-02042 rev. *e page 53 of 126 the 136-bit word k (presented on the dq bus in cycles a and b of the command) is also stored in the even and odd comparand registers specified by the comparand register index in the command?s cycle b. in 136 configurations, the even and odd comparand register can subsequently be used by the learn command in only one of the devices (the first non-full device). the word k (presented on the dq bus in cycles a and b of the command) is compared to each entry in the table, starting at location 0 . the first matching entry?s location address l is the winning address that is driven as part of the sram address on the sadr[21: 0] lines (see ?sram addressing? on page 98). the global winning device will drive the bus in a specific cycle. on global miss cycle s, the device with lram = 1 (the default driving device for the sram bus) and ldev = 1 (the default driving device for ssf and ssv signals) will be the default driver for such missed cycles. note . during 136-bit searches of 136-bit-configured tables, the search hit will always be at an even address. the search command is a pipelined operation and executes a search at half the rate of the clk2x frequency for 136-bit searches in 136-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 136-bit search command cycle (two clk2x cycles) is shown in table 13-12 . for one to eight devices in the table and tlsz = 01, search latency from command to sram access cycle is 5. in addition, ssv and ssf shift further to the right for different values of hlat, as specified in table 13-13 . table 13-12. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 8k 136 bits 4 1?8 (tlsz = 01) 64k 136 bits 5 1?31 (tlsz = 10) 248k 136 bits 6 table 13-13. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 cfg = 01010101 135 0 location 0 2 4 6 131070 (136-bit configuration) address k gmr comparand register (odd) comparand register (even) a b 135 0 67 0 (first matching entry) l a b even odd will be same in each of the eight devices must be same in each of the eight devices figure 13-30. 136 table with eight devices
cynse7003 2 document #: 38-02042 rev. *e page 54 of 126 13.6 136-bit search on tables configured as 136 using up to 31 cynse70032 devices the hardware diagram of the search subsystem of 31 devices is shown in figure 13-31 . each of the four blocks in the diagram represents a block of eight cynse70032 devices (except the last, which has seven devices). the diagram for a block of eight devices is shown in figure 13-32 . the following are the parameters programmed into the 31 devices.  first 30 devices (devices 0?29): cfg = 01010101, tlsz = 10, hlat = 001, lram = 0, and ldev = 0.  31st device (device 30): cfg = 01010101, tlsz = 10, hlat = 001, lram = 1, and ldev = 1. note . all 31 devices must be programmed with the same value of tlsz and hlat. only the last device in the table (device number 30 in this case) must be programmed with lram = 1 and ldev = 1. all other upstream devices (devices 0 through 29 in this case) must be programmed with lram = 0 and ldev = 0. the timing diagrams referred to in this paragraph reference the hit/miss assumptions listed in table 13-14 . for the purpose of illustrating timings, it is further assumed that the there is only one device with a matching entry in each of the blocks. figure 13-33 shows the timing diagram for a search command in the 136-bit-configured table (31 devices) for each of the eight devices in block number 0. figure 13-34 shows the timing diagram for search command in the 68-bit-configured table (31 devices) for all devices above the winning device in block number 1. figure 13-35 shows the timing diagram for the globally winning device (the winner within its own and all blocks) in block number 1. figure 13-36 shows the timing diagram for all devices below the globally winning device in block number 1. figure 13-37 , figure 13-38 , and figure 13-39 , respectively, show the timing diagrams of the devices above globally winning device, the globally winning device, and the devices below the globally winning device for block number 2. figure 13-40 , figure 13-41 , figure 13-42 , and figure 13-43 , respectively, show the timing diagrams of the devices above the globally winning device, the globally winning device, and the devices below the globally winning device except the la st device (device 30) for block number 3, and then the last device (device 30) for block number 3. the 136-bit search operation is pipelined and executes as follow s. four cycles from the search command, each of the devices knows the outcome internal to it for that operation. in the fifth cycle after the search command, the devices in a block arbitr ate for a winner from among them (a ?block? being less than or equal to eight devices resolving the winner by using lhi[6:0] and lho[1:0] signalling mechanisms). in the sixth cycle after the search command, the blocks of devices resolve the winning block through the bhi[2:0] and bho[2:0] signalling mechanisms. the winning device in the winning block is the global winning device for a search operation. table 13-14. hit/miss assumptions search number 1 2 3 4 block 0missmissmissmiss block 1 miss miss hit miss block 2 miss hit hit miss block 3 hit hit miss miss
cynse7003 2 document #: 38-02042 rev. *e page 55 of 126 bho[2] block of 8 cynse70032s block 0 (devices 0?7) bho[1] bho[0] bhi[2] bhi[1] bhi[0] bhi[2] block of 7 cynse70032s block 3 (devices 24?30) bhi[1] bhi[0] gnd bho[2] bho[1] bho[0] bhi[2] bhi[1] bhi[0] gnd bhi[2] bhi[1] bhi[0] gnd block of 8 cynse70032s block 1 (devices 8?15) block of 8 cynse70032s block 2 (devices 16?23) dq[67:0] sram bho[2] bho[2] bho[1] bho[1] bho[0] bho[0] cmd[8:0], cmdv ssf, ssv figure 13-31. hardware diagram for a table with 31 devices
cynse7003 2 document #: 38-02042 rev. *e page 56 of 126 cynse70032 #6 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 654 3210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] bhi[2:0] ssv, ssf figure 13-32. hardware diagram for a block of up to eight devices
cynse7003 2 document #: 38-02042 rev. *e page 57 of 126 cycle clk2x cmdv cmd[1:0] dq ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 d1 d2 d3 d4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-33. timing diagram for each device in block number 0 (miss on each device)
cynse7003 2 document #: 38-02042 rev. *e page 58 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 a b a b a b a b dq d1 d2 d3 d4 (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-34. timing diagram for each device above the winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 59 of 126 this device.) cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 a3 a b a b a b a b dq d1 d2 d3 d4 1zz 1z 1z 0 z 0 z z (this device global winner.) this device.) (miss on this device.) (miss on figure 13-35. timing diagram for globally winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 60 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0] stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi(6:0) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 a b a b a b a b dq d1 d2 d3 d4 this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-36. timing diagram for devices below the winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 61 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 a b a b a b a b dq d1 d2 d3 d4 (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-37. timing diagram for devices above the winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 62 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 a2 0 z 0 1 1 1 z z z z z z a b a b a b a b dq d1 d2 d3 d4 (miss on this device.) (hit but not winner.) (global winner.) (miss on this device.) figure 13-38. timing diagram for globally winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 63 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 z a b a b a b a b dq d1 d2 d3 d4 (miss on this device.) (miss on this device.) (miss on this device.) (miss on this device.) figure 13-39. timing diagram for devices below the winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 64 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on this device.) search3 |(lhi[6:0]) 0 bho[2:0] 0 z a b a b a b a b dq d1 d2 d3 d4 (miss on this device.) (miss on this device.) (miss on this device.) figure 13-40. timing diagram for devices above the winning device in block number 3
cynse7003 2 document #: 38-02042 rev. *e page 65 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z z z z z z lho[1:0] 0 (hit but not global winner.) (miss on this device.) i(bhi[2:0]) 0 (global winner.) search3 (miss on this device.) |(lhi[6:0]) 0 bho[2:0] 0 a1 0 z 0 1 1 1 z z z z z z a b a b a b a b dq d1 d2 d3 d4 figure 13-41. timing diagram for globally winning device in block number 3
cynse7003 2 document #: 38-02042 rev. *e page 66 of 126 cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 01 01 01 01 search1 search2 a b a b a b a b z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on this device.) search3 |(lhi[6:0]) 0 bho[2:0] 0 z a b a b a b a b dq d1 d2 d3 d4 search2 search4 (miss on this device.) (miss on this device.) (miss on this device.) figure 13-42. timing diagram for devices below the winning device in block number 3 except device number 30 (the last device)
cynse7003 2 document #: 38-02042 rev. *e page 67 of 126 the following is the sequence of operation for a single 136-bit search command (also refer to ?command and command parameters,? subsection 12.2 on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair for use in this search operation. cmd[8:6] signals must be driven with the bits that will be driven on sadr[21:19] by this device if it has a hit. dq[67:0] must be driven with the 68-bit data ([135:68]) in or der to be compared against all even locations. the cmd[2] signal must be driven to logic 0.  cycle b : the host asic continues to drive cmdv high and to appl y search command code (10) on cmd[1:0]. cmd[5:2] must be driven by the index of the comparand register pair for storing the 136-bit word presented on the dq bus during cycles a and b. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] search2 search4 we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 01010101, hlat = 001, tlsz = 10, lram = 1, ldev = 1. n ote: |(bhi[2:0)] stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 search4 01 01 01 01 search1 search3 a b a b a b a b z 0 0 lho[1:0] 0 (global miss; this device is default driver.) i(bhi[2:0]) 0 search3 |(lhi[6:0]) 0 bho[2:0] 0 z 0 0 0 z 1 z 1 0 0 z z 0 1 a b a b a b a b dq d1 d2 d3 d4 (hit on some device above.) (hit on some device above.) (hit on some device above.) figure 13-43. timing diagram for device number 6 in block number 3 (device number 30 in depth-cascaded table)
cynse7003 2 document #: 38-02042 rev. *e page 68 of 126 entry and the hit flag (see page 14 for the description of ssr[0:7]). the dq[67:0] is driven with 68-bit data ([67:0])to be com pared against all odd locations. a logical 136-bit search operation is shown in figure 13-44 . the entire table made up of 31 devices and consisting of 136-bit entries is compared against a 136-bit word k that is presented on the dq bus (using the gmr and local mask bits) in cycles a and b of the command. the gmr is the 136-bit word specified by the even and odd global mask pair selected by the gmr index in the command?s cycle a. the 136-bit word k that is presented on the dq bus in cycles a and b of the command is also stored in the even and odd comparand registers specified by the comparand register index in the command?s cycle b. in 136 configurations, the even and odd comparand registers can subsequently be used by the learn command in the first non-full device only. note . the learn command is supported for only one of the blocks consisting of up to eight devices in a depth-cascaded table of more than one block. the word k that is presented on the dq bus in cycles a and b of the command is compared with each entry in the table, starting at location 0. the first matching entry?s location address l is the winning address that is driven as part of the sram address on the sadr[21:0] lines (see section 15.0, ?sram addressing? on page 98). the global winning device will drive the bus in a specific cycle. in global miss cycles, the device with lram = 1 (the default driving device for the sram bus) and ldev = 1 (the default driving device for ssf and ssv signals) will be the default driver for such missed cycles. note . during 136-bit searches of 136-bit-configured tables, the search hit will always be at an even address. the search command is a pipelined operation. it executes a search at half the rate of the frequency of clk2x for 136-bit search es in 136-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 136-bit search command cycle (two clk2x cycles) is shown in table 13-15 . search latency from command to sram access cycle is 6 for 1?31 devices in the table and tlsz = 10. in addition, ssv and ssf shift further to the right for different values of hlat, as specified in table 13-16 . table 13-15. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 8k 136 bits 4 1?8 (tlsz = 01) 64k 136 bits 5 1?31 (tlsz = 10) 248k 136 bits 6 table 13-16. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 cfg = 01010101 135 0 location 0 2 4 6 507902 (136-bit configuration) address k gmr comparand register (odd) comparand register (even) a b 135 0 67 0 (first matching entry) l a b even odd will be same in each of the 31 devices must be same in each of the 31 devices figure 13-44. x136 table with 31 devices
cynse7003 2 document #: 38-02042 rev. *e page 69 of 126 13.7 272-bit search on tables configured as 272 using a single cynse70032 device figure 13-45 shows the timing diagram for a search command in the 272-bit-configured table (cfg = 10101010) consisting of a single device for one set of parameters: tlsz = 00, hlat = 001, lram = 1, and ldev = 1. the hardware diagram for this search subsystem is shown in figure 13-46 . the following is the sequence of operation for a single 136-bit search command (also refer to subsection 12.2, ?commands and command parameters? on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair used for bits [271:136] of the data being searched. dq[67:0] must be driven with the 68-bit data ([271:204]) to be compared to all locations 0 in the four 68-bits-word page. the cmd[2] signal must be driven to logic 1. note . cmd[2] = 1 signals that the search is a x272-bit search. cmd[8:3] in this cycle is ignored. cycle clk2x cmdv cmd[1:0] ce_l oe_l hit miss cmd[8:2] we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 001, tlsz = 00, lram = 1, ldev = 1. phs_l sadr[21:0] ssf ssv ale_l search1 search2 a1 01 01 search1 search2 a b a b a b a b 0 1 0 0 1 1 0 0 1 1 0 1 0 0 a b c d a b c d dq d1 d2 cmd[2] 1 0 1 10 1 figure 13-45. timing diagram for 272-bit search (one device) lho[0] 6543210 lhi lho[1] bhi[2:0] dq[67:0] sram cynse70032 cmdv, cmd[8:0] bhi[2:0] ssf, ssv figure 13-46. hardware diagram for a table with one device
cynse7003 2 document #: 38-02042 rev. *e page 70 of 126  cycle b : the host asic continues to drive cmdv high and continues to apply search command code (10) on cmd[1:0]. the dq[67:0] is driven with the 68-bit data ([203:136]) to be compared to all locations 1 in the four 68-bits-word page.  cycle c : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair used for bits [135:0] of the data being searched. cmd[8:6] signals must be driven with the bits that will be driven on sadr[21:19] by this device if it has a hit. dq[67:0] must be driven with the 68-bit data ([135:68]) to be compared to all locations 2 in the four 68-bits-word page. the cmd[2] signal must be driven to logic 0.  cycle d : the host asic continues to drive the cmdv high and applies search command code (10) on cmd[1:0]. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching entry and hit flag (see page 14 for the description of ssr[0:7]). the dq[67:0] is driven with the 68-bit data ([67:0]) to be compared to all locat ions 3 in the four 68-bits-word page. cmd[5:2] is ignored because the learn instruction is not supported for x272 tables. note . for 272-bit searches, the host asic must supply four distinct 68-bit data words on dq[67:0] during cycles a, b, c, and d. the gmr index in cycle a selects a pair of gmrs that apply to dq data in cycles a and b. the gmr index in cycle c selects a pair of gmrs that apply to dq data in cycles c and d. the logical 272-bit search operation is shown in figure 13-47 . the entire table of 272-bit entries is compared to a 272-bit word k that is presented on the dq bus in cycles a, b, c, and d of the command using the gmr and local mask bits. the gmr is the 272-bit word specified by the two pairs of gmrs selected by the gmr indexes in the command?s cycles a and c. the 272-bit word k that is presented on the dq bus in cycles a, b, c, and d of the command is compared with each entry in the table startin g at location 0. the first matching entry?s location address l is the winning address that is driven as part of the sram address on sadr[21:0] lines (see ?sram addressing? on page 98). note . the matching address is always going to be location 0 in a four-entry page for a 272-bit search (two lsbs of the matching index will be 00). the search command is a pipelined operation and executes at one-fourth the rate of the frequency of clk2x for 272-bit searches in 272-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 272-bit search command (measured in clk cycles) from the clk2x cycle that contains the c and d cycles is shown in table 13-17 . search latency from command to sram access cycle is 4 for a single device in the table and tlsz = 00. in addition, ssv and ssf shift further to the right for different values of hlat, as specified in table 13-18 . table 13-17. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 4k 272 bits 4 1?8 (tlsz = 01) 32k 272 bits 5 1?31 (tlsz = 10) 124k 272 bits 6 table 13-18. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 cfg = 10101010 271 0 location 0 4 8 12 16380 (272-bit configuration) address k gmr 271 0 (first matching entry) l ab 01 cd 23 figure 13-47. x272 table with one device
cynse7003 2 document #: 38-02042 rev. *e page 71 of 126 13.8 272-bit search on tables configured as 272 and using up to eight cynse70032 devices the hardware diagram of the search subsystem of eight devices is shown in figure 13-48 . the following are the parameters programmed into the eight devices.  first seven devices (devices 0?6): cfg = 10101010, tlsz = 01, hlat = 000, lram = 0, and ldev = 0.  eighth device (device 7): cfg = 10101010, tlsz = 01, hlat = 000, lram = 1, and ldev = 1. note . all eight devices must be programmed with the same value of tlsz and hlat. only the last device in the table must be programmed with lram = 1 and ldev = 1 (device number 7 in this case). all other upstream devices must be programmed with lram = 0 and ldev = 0 (devices 0 through 6 in this case). figure 13-49 shows the timing diagram for a search command in the 272-bit-configured table of eight devices for device number 0. figure 13-50 shows the timing diagram for a search command in the 272-bit-configured table of eight devices for device number 1. figure 13-51 shows the timing diagram for a search command in the 272-bit-configured table of eight devices for device number 7 (the last device in this specific table). for these timing diagrams, three 272-bit searches are performed sequentially. the following hit/miss assumptions were made, as shown in table 13-19 . 100 4 101 5 110 6 111 7 table 13-19. hit/miss assumptions search number 1 2 3 device 0 hit miss miss device 1 miss hit miss devices 2?6 miss miss miss device 7 miss miss miss table 13-18. shift of ssf and ssv from sadr (continued) hlat number of clk cycles
cynse7003 2 document #: 38-02042 rev. *e page 72 of 126 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 65 4 3210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #6 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] ssf, ssv figure 13-48. hardware diagram for a table with eight devices
cynse7003 2 document #: 38-02042 rev. *e page 73 of 126 cycle clk2x cmdv ce_l oe_l (this device we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 01, lram = 0, ldev = 0. n ote: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ale_l search1 search2 search3 a1 z z z z z z z 0 |(lhi[6:0]) 0 (miss on lho[1:0] cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 z z 0 1 ssv z z 1 ssf z 1 z is the global winner.) this device.) (miss on this device.) figure 13-49. timing diagram for 272-bit search device number 0
cynse7003 2 document #: 38-02042 rev. *e page 74 of 126 cycle clk2x ce_l oe_l (miss on we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 01, lram = 0, ldev = 0. n ote: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 a2 z z z z 1 1 z z |(lhi[6:0]) lho[1:0] z 0 z 1 z this device.) cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 z z 0 search3 search2 (this device is global winner.) (miss on this device.) figure 13-50. timing diagram for 272-bit search device number 1
cynse7003 2 document #: 38-02042 rev. *e page 75 of 126 the following is the sequence of operation for a single 272-bit search command (also see ?commands and command param- eters? on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair used for bits [271:136] of the data being searched in this operation. dq[67:0] must be driven with the 68-bit data ([271:204]) to be compared against all locations 0 in the four-word 68-bit page. the cmd[2] signal must be driven to logic 1. note . cmd[2] = 1 signals that the search is a x272 bit search. cmd[8:3] in this cycle is ignored.  cycle b : the host asic continues to drive cmdv high and applies search command code (10) on cmd[1:0]. the dq[67:0] is driven with the 68-bit data ([203:136]) to be compared against all locations 1 in the four 68-bits-word page.  cycle c : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair used for bits [135:0] of the data being searched. cmd[8:6] signals must be driven with the bits that will be driven on sadr[21:19] by this device if it has a hit. dq[67:0] must be driven with the 68-bit data ([135:68]) to be compared against all locations 2 in the four 68-bits-word page. the cmd[2] signal must be driven to logic 0.  cycle d : the host asic continues to drive cmdv high and applies search command code (10) on cmd[1:0]. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching entry and the hit flag (see page 14 for the description of ssr[0:7]). the dq[67:0] is driven with the 68-bit data ([67:0]) to be compared to all locations 3 in the four 68-bits-word page. cmd[5:2] is ignored because the learn instruction is not supported for 272 tables. note . for 272-bit searches, the host asic must supply four distinct 68-bit data words on dq[67:0] during cycles a, b, c, and d. the gmr index in cycle a selects a pair of gmrs in each of the eight devices that apply to dq data in cycles a and b. the gmr index in cycle c selects a pair of gmrs in each of the eight devices that apply to dq data in cycles c and d. cycle clk2x cmdv ce_l oe_l (miss on 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 01, lram = 1, ldev = 1. n ote: |(lhi[6:0]) stands for the boolean ?or? of the entire bus lhi[6:0]. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv search1 search2 search3 0 (global miss.) |(lhi[6:0]) lho[1:0] this device.) (miss on this device.) 0 z 0 ale_l we_l 1 z 1 0 z 1 0 0 z 0 cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 z 0 0 z z 1 z z 00 z 0 figure 13-51. timing diagram for 272-bit search device number 7 (last device)
cynse7003 2 document #: 38-02042 rev. *e page 76 of 126 the logical 272-bit search operation is shown in figure 13-52 . the entire table of 272-bit entries is compared to a 272-bit word k that is presented on the dq bus in cycles a, b, c, and d of the command using the gmr and the local mask bits. the gmr is the 272-bit word specified by the two pairs of gmrs selected by the gmr indexes in the command?s cycles a and c in each of the eight devices. the 272-bit word k that is presented on the dq bus in cycles a, b, c, and d of the command is compared to each entry in the table starting at location 0. the first matching entry?s location address l is the winning address that is dr iven as part of the sram address on the sadr[21:0] lines (see ?sram addressing? on page 98). note . the matching address is always going to be a location 0 in a four-entry page for 272-bit search (two lsbs of the matching index will be 00). the search command is a pipelined operation and executes a search at one-fourth the rate of the frequency of clk2x for 272-bit searches in 272-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 272-bit search command (measured in clk cycles) from the clk2x cycle that contains the c and d cycles is shown in table 13-20 . search latency from command to sram access cycle is 5 for only a single device in the table and tlsz = 01. in addition, ssv and ssf shift further to the right for different values of hlat, as specified in table 13-21 . 13.9 272-bit search on tables configured as 272 using up to 31 cynse70032 devices the hardware diagram of the search su bsystem of 31 devices is shown in figure 13-53 . each of the four blocks in the diagram represents a block of eight cynse70032 devices, except the last which has seven devices. the diagram for a block of eight devices is shown in figure 13-54 . the following are the parameters programmed into the 31 devices.  first thirty devices (devices 0?29): cfg = 10101010, tlsz = 10, hlat = 000, lram = 0, and ldev = 0.  thirty-first device (device 30): cfg = 10101010, tlsz = 10, hlat = 000, lram = 1, and ldev = 1. table 13-20. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 4k 272 bits 4 1?8 (tlsz = 01) 32k 272 bits 5 1?31 (tlsz = 10) 124k 272 bits 6 table 13-21. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 cfg = 10101010 271 0 location 0 4 8 12 131068 (272-bit configuration) address k gmr 271 0 l a b 01 c d 23 (first matching entry) must be same in each of the eight devices figure 13-52. x272 table with eight devices
cynse7003 2 document #: 38-02042 rev. *e page 77 of 126 note . all 31 devices must be programmed with the same value of tlsz and hlat. only the last device in the table must be programmed with lram = 1 and ldev = 1 (device number 30 in this case). all other upstream devices must be programmed with lram = 0 and ldev = 0 (devices 0 through 29 in this case). the timing diagrams referred to in this paragraph reference the hit/miss assumptions defined in table 13-22 . for the purpose of illustrating the timings, it is further assumed that there is only one device with the matching entry in each block. figure 13-55 shows the timing diagram for a search command in the 272-bit-configured table consisting of 31 devices for each of the eight devices in block number 0. figure 13-56 shows the timing diagram for a search command in the 272-bit-configured table of 31 devices for all devices above the winning device in block number 1. figure 13-57 shows the timing diagram for the globally winning device (the final winner within its own and all blocks) in block number 1. figure 13-58 shows the timing diagram for all the devices below the globally winning device in block number 1. figure 13-59 , figure 13-60 , and figure 13-61 , respectively, show the timing diagrams of the devices above the globally winning device, the globally winning device, and the devices below the globally winn ing device for block number 2. figure 13-62 , figure 13-63 , figure 13-64 , and figure 13-65 , respectively, show the timing diagrams of the device above the globally winning device, the globally winning device, the devices below the globally winning device (ex cept device 30), and last device (device 30) for block number 3. the 272-bit search operation is pipelined and executes as follow s. four cycles from the last cycle of the search command each of the devices knows the outcome internal to it for that operation. in the fifth cycle from the search command, the devices in a block (less than or equal to eight devices resolving the winner within them using an lhi[6:0] and lho[1:0] signalling mechanism) arbitrate for a winner. in the sixth cycle after the search command, the blocks of devices resolve the winning block through a bhi[2:0] and bho[2:0] signalling mechanism. the winning device within the winning block is the global winning device for the search operation. table 13-22. hit/miss assumptions search number 1 2 3 block 0 miss miss miss block 1 miss miss hit block 2 miss hit hit block 3 hit hit miss bho[2] block of 8 cynse70032s block 0 (devices 0?7) bho[1] bho[0] bhi[2] bhi[1] bhi[0] bhi[2] block of 7 cynse70032s block 3 (devices 24?30) bhi[1] bhi[0] gnd bho[2] bho[1] bho[0] bhi[2] bhi[1] bhi[0] gnd bhi[2] bhi[1] bhi[0] gnd block of 8 cynse70032s block 1 (devices 8?15) block of 8 cynse70032s block 2 (devices 16?23) dq[67:0] sram bho[2] bho[2] bho[1] bho[1] bho[0] bho[0] cmd[8:0], cmdv ssf, ssv figure 13-53. hardware diagram for a table with 31 devices
cynse7003 2 document #: 38-02042 rev. *e page 78 of 126 cynse70032 #6 cynse70032 #7 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 654 3210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 4 bho[2] bho[2] cmdv cmd[8:0] bhi[2:0] ssv, ssf figure 13-54. hardware diagram for a block of up to eight devices
cynse7003 2 document #: 38-02042 rev. *e page 79 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search2 z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 search1 this device.) (miss on this device.) (miss on this device.) figure 13-55. timing diagram for each device in block number 0 (miss on each device)
cynse7003 2 document #: 38-02042 rev. *e page 80 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 this device.) (miss on this device.) (miss on this device.) figure 13-56. timing diagram for each device above the winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 81 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 (this device is |(lhi[6:0]) 0 bho[2:0] 0 a3 cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 0 0 1 1 1 this device.) (miss on this device.) global winner.) figure 13-57. timing diagram for globally winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 82 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 0 this device.) (miss on this device.) (miss on this device.) figure 13-58. timing diagram for devices below the winning device in block number 1
cynse7003 2 document #: 38-02042 rev. *e page 83 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 hit in block 0 this device.) (miss on this device.) or block 1.) (miss on this device.) figure 13-59. timing diagram for devices above the winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 84 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z lho[1:0] 0 (global winner.) i(bhi[2:0]) 0 (miss on search3 (hit but |(lhi[6:0]) 0 bho[2:0] 0 a2 0 1 1 1 z z z z z z cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 z 0 z z z this device.) not winner.) figure 13-60. timing diagram for globally winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 85 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on this device.) search3 |(lhi[6:0]) 0 bho[2:0] 0 z cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 (miss on this device.) (miss on this device.) figure 13-61. timing diagram for devices below the winning device in block number 2
cynse7003 2 document #: 38-02042 rev. *e page 86 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 z cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 this device.) (miss on this device.) (miss on this device.) figure 13-62. timing diagram for devices above the winning device in block number 3
cynse7003 2 document #: 38-02042 rev. *e page 87 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0]. n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0]. n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z lho[1:0] 0 (hit but not i(bhi[2:0]) 0 (global winner.) search3 (miss on |(lhi[6:0]) 0 bho[2:0] 0 a1 0 z 1 1 1 z z z z z cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 0 z this device.) global winner.) figure 13-63. timing diagram for globally winning device in block number 3
cynse7003 2 document #: 38-02042 rev. *e page 88 of 126 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 0, ldev = 0. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0] n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0] n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z z z z z z lho[1:0] 0 i(bhi[2:0]) 0 (miss on search3 |(lhi[6:0]) 0 bho[2:0] 0 z cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 this device.) (miss on this device.) (miss on this device.) figure 13-64. timing diagram for devices below the winning device in block number 3 except device number 30 (the last device)
cynse7003 2 document #: 38-02042 rev. *e page 89 of 126 the following is the sequence of operation for a single 272-bit search command (also refer to subsection 12.2, ?commands and command parameters? on page 19).  cycle a : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair used for bits[271:136] of the data being searched. dq[67:0] must be driven with the 68-bit data ([271:204]) to be compared to all locations 0 in the four 68-bits-word page. the cmd[2] signal must be driven to logic 1. note . cmd[2] = 1 signals that the search is a x272-bit search. cmd[8:6] is ignored in this cycle.  cycle b : the host asic continues to drive cmdv high and applies search command (10) on cmd[1:0]. the dq[67:0] is driven with the 68-bit data ([203:136]) to be compared to all locations 1 in the four 68-bits-word page.  cycle c : the host asic drives cmdv high and applies search command code (10) on cmd[1:0] signals. cmd[5:3] signals must be driven with the index to the gmr pair used for the bits [135:0] of the data being searched. cmd[8:6] signals must be driven with the bits that will be driven by this device on sadr[21:19] if it has a hit. dq[67:0] must be driven with the 68-bit data ([135:68]) to be compared to all locations 2 in the four 68-bits-word page. the cmd[2] signal must be driven to logic 0. 0 z 0 0 0 z 0 0 cycle clk2x ce_l oe_l we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 10101010, hlat = 000, tlsz = 10, lram = 1, ldev = 1. n ote: |(bhi[2:0]) stands for the boolean ?or? of the entire bus bhi[2:0] n ote: |(lhi[6:0]) stands for the boolean ?or? for the entire bus lhi[6:0] n ote: each bit in bho[2:0] is the same logical signal. n ote: each bit in lho[1:0] is the same logical signal. phs_l sadr[21:0] ssf ssv ale_l search1 search2 z 0 0 |(lhi[6:0)] i(bhi[2:0]) 0 search3 0 bho[2:0] 0 z 0 1 cmdv cmd[1:0] cmd[8:2] 01 01 search1 search2 a b a b a b a b cmd[2] a b c d a b c d dq d1 d2 a b c d d3 a b a b 01 search3 lho[1:0] 0 z z 0 0 0 z 0 z 1 1 z z z z (hit on some device above.) (hit on some device above.) (hit on some device above.) figure 13-65. timing diagram of the last device in block number 3 (device 30 in the table)
cynse7003 2 document #: 38-02042 rev. *e page 90 of 126  cycle d : the host asic continues to drive cmdv high and to apply search command code (10) on cmd[1:0]. cmd[8:6] signals must be driven with the index of the ssr that will be used for storing the address of the matching entry and the hit fl ag (see page 14 for a description of ssr[0:7]). the dq[67:0] is driven with the 68-bit data ([67:0]) to be compared to all locatio ns 3 in the four 68-bits-word page. cmd[5:2] is ignored because the learn instruction is not supported for 272 tables. note . for 272-bit searches, the host asic must supply four distinct 68-bit data words on dq[67:0] during cycles a, b, c, and d. the gmr index in cycle a selects a pair of gmrs in each of the 31 devices that apply to dq data in cycles a and b. the gmr index in cycle c selects a pair of gmrs in each of the 31 devices that apply to dq data in cycles c and d. the logical 272-bit search operation is as shown in figure 13-66 . the entire table of 272-bit entries is compared to a 272-bit word k that is presented on the dq bus in cycles a, b, c, and d of the command using the gmr and local mask bits. the gmr is the 272-bit word specified by the two pairs of gmrs selected by the gmr indexes in the command?s cycles a and c in each of the 31 devices. the 272-bit word k that is presented on the dq bus in cycles a, b, c, and d of the command is compared to each entry in the table starting at location 0. the first matching entry?s location address l is the winning address that is driven as part of the sram address on the sadr[21:0] lines (see ?sram addressing? on page 98). note . the matching address is always going to be location 0 in a four-entry page for 272-bit search (two lsbs of the matching index will be 00). the search command is a pipelined operation that executes a search at one-fourth the rate of the frequency of clk2x for 272-bit searches in 272-configured tables. the latency of sadr, ce_l, ale_l, we_l, ssv, and ssf from the 272-bit search command (measured in clk cycles) from the clk2x cycle containing the c and d cycles is shown in table 13-23 . search latency from command to sram access cycle is 6 only for a single device in the table with tlsz = 10. in addition, ssv and ssf shift further to the right for different values of hlat, as specified in table 13-24 . table 13-23. search latency from instruction to sram access cycle number of devices max table size latency in clk cycles 1 (tlsz = 00) 4k 272 bits 4 1?8 (tlsz = 01) 32k 272 bits 5 1?31 (tlsz = 10) 124k 272 bits 6 table 13-24. shift of ssf and ssv from sadr hlat number of clk cycles 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 cfg = 10101010 271 0 location 0 4 8 12 507900 (272-bit configuration) address k gmr 271 0 (first matching entry) l a b 01 c d 23 must be same in each of the 31 devices figure 13-66. x272 table with 31 devices
cynse7003 2 document #: 38-02042 rev. *e page 91 of 126 13.10 mixed-size searches on tables configured with different widths using an cynse70032 device this subsection will cover mixed searches (68, 136, and 272) with tables of different widths (68, 136, 272). the sample operation shown is for a single device with cfg = 10010000 containing three tables of 68, 136, and 272 widths. the operation can be generalized to a block of 8?31 devices using four blocks; the timing and the pipeline operation is the same as described previously for fixed searches on a table of one-width-size. figure 13-67 shows three sequential searches: first, a 68-bit search on the table configured as 68, then a 136-bit search on a table configured as 136, and finally a 272-bit search on the table configured as 272 bits. each results in a hit. note .the dq[67:66] will be 00 in each of the two a and b cycles of the 68-bit search (search1). dq[67:66] is 01 in each of the a and b cycles of the 136-bit search (search2). dq[67:66] is 10 in each of the a, b, c, and d cycles of the 272-bit search (search3). by having table designation bits, the cynse70032 device enables the creation of many tables of different widths in a bank of search engines. figure 13-68 shows the sample table. two bits in each 68-bit entry need to designated as table number bits. one example choice might be: the 00 values for the table configured as 68, 01 values for tables configured as 136, and 10 values for tables configured as 272. for the above explanation, it is further assumed that bits[67:66] for each entry will be designed as such t able designation bits. cycle clk2x cmdv cmd[1:0] ce_l oe_l cmd[8:2] we_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 c fg = 1010101010101010, hlat = 010, tlsz = 00, lram = 1, ldev = 1 phs_l sadr[21:0] ssf ssv ale_l search1 search2 a2 01 01 search1 search3 a b a b a b a b 0 1 0 10 0 1 1 0 1 0 ab a b a b c d dq d1 d3 cmd[2] 101 1 0 1 a3 search2 01 d2 1 1 0 0 0 0 1 0 1 68 hit 136 hit search3 272 hit a1 a3 figure 13-67. timing diagram for mixed search (one device) 1 k 8 k 68 2 k 136 272 cfg = 10010000 figure 13-68. multiwidth configurations example
cynse7003 2 document #: 38-02042 rev. *e page 92 of 126 13.11 lram and ldev description when search engines are cascaded using multiple cynse70032 devices, the sadr, ce_l, and we_l (three-state signals) are all tied together. to eliminate external pull-up and pull downs, one device in a bank is designated as the default driver. for non-search or non-learn cycles (see subsection 13.12, ?learn command? on page 92) or search cycles with a global miss, the sadr, ce_l, and we_l signals are driven by the device with the lram bit set. it is important that only one device in a bank of cascaded search engines have this bit set. failure to do so will cause contention on sadr, ce_l, and we_l, and can potentially cause damage to the device(s). similarly, when search engines using multiple cynse70032 devices are cascaded, ssf and ssv (also three-state signals) are tied together. to eliminate external pull-up and pull downs, one device in a bank is designated as the default driver. for nons earch cycles or search cycles with a global miss, the ssf and ssv signals are driven by the device with the ldev bit set. it is impor tant that only one device in a bank of cascaded search engines have this bit set. failure to do so will cause contention on ssv and ssf and can potentially cause damage to the device(s). 13.12 learn command bit[0] of each 68-bit data location specifies whether an entry in the database is occupied. if all the entries in a device are occupied, the device asserts fulo signal to inform the downstream devices that it is full. the result of this communication between depth-cascaded devices determines the global full signal for the entire table. the full signal in the last device determines the fullness of the depth-cascaded table. the device contains sixteen pairs of internal, 68-bit-wide comparand registers that store the comparands as the device executes searches. on a miss by the search (signalled to asic through the ssv and ssf signals [ssv = 1, ssf = 0]), the host asic can apply the learn command to learn the entry from a comparand register to the next-free location (see subsection 9.3, ?nfa register? on page 16). the nfa updates to the next-free location following each write or learn command. in a depth-cascaded table, only a single device will learn t he entry through the application of a learn instruction. the determ i- nation of the learn device is based on the fuli and fulo signalling between the devices. the first non-full device learns the entry by storing the contents of the specified comparand registers to the location(s) pointed to by nfa. in a 68-configured table the learn command writes a single 68-bit location. in a 136-configured table the learn command writes the next even and odd 68-bit locations. in 136-bit mode, bit[0] of the even and odd 68-bit locations is 0, indicating th at they are cascaded empty, or 1, which indicates that they are occupied. the global full signal indicates to the table controller (the host asic) that all entries within a block are occupied and that no more entries can be learned. the cynse70032 device updates the signal to a data array after each write or learn command. also using the nfa register as part of the sram address, the learn command generates a write cycle to the external sram (see section 15.0, ?sram addressing? on page 98). the learn command is supported on a single block containing up to eight devices if the table is configured as either a 68 or a 136. the learn command is not supported for 272-configured tables. learn is a pipelined operation and lasts for two clk cycles where tlsz = 00, as shown in figure 13-69 , and tlsz = 01 as shown in figure 13-70 and figure 13-71 . figure 13-70 and figure 13-71 assume that the device performing the learn operation is not the last device in the table and has its lram bit set to 0. note . the oe_l for the device with the lram bit set goes high for two cycles for each learn (one during the sram write cycle, and one during the cycle before it). the latency of the sram write cycl e from the second cycle of the instruction is shown in table 13-25 .
cynse7003 2 document #: 38-02042 rev. *e page 93 of 126 cycle learn1 learn2 clk2x cmdv cmd[1:0] dq sadr[21:0] cmd[8:2] x we_l oe_l a1 a2 x xxx x tlsz = 00, lram = 1, ldev = 1. 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 x x x 1a 1b comp1 comp2 x phs_l 1 1 z z z z z 0 0 0 0 0 0 0 ssv ssf 1 0 1 1 ce_l figure 13-69. learn timing diagram (tlsz = 00)
cynse7003 2 document #: 38-02042 rev. *e page 94 of 126 cycle learn1 learn2 clk2x cmdv cmd[1:0] dq sadr[21:0] ce_l cmd[8:2] x we_l oe_l a1 a2 x xxx x tlsz = 01, lram = 0, ldev = 0. 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 x x x 1a 1b comp1 comp2 x phs_l z z z z z z z 0 0 z z ssv ssf z 0 0 figure 13-70. learn timing diagram (tlsz = 01 [except on the last device])
cynse7003 2 document #: 38-02042 rev. *e page 95 of 126 the learn operation lasts two clk cycles. the sequence of operation is as follows.  cycle 1a : the host asic applies the learn instruction on cmd[1:0] using cmdv = 1. the cmd[5:2] field specifies the index of the comparand register pair that will be written to the data array in the 136-bit-configured table. for a learn in a 68-bit-c on- figured table, the even-numbered comparand specified by this index will be written. cmd[8:6] carries the bits that will be driv en on sadr[21:19] in the sram write cycle.  cycle 1b : the host asic continues to drive cmdv to 1, cmd[1:0] to 11, and cmd[5:2] with the comparand pair index. cmd[6] must be set to 0 if the learn is being performed on a 68-bit-configured table, and to 1 if the learn is being performed on a 136-bit-configured table.  cycle 2 : the host asic drives cmdv to 0. table 13-25. sram write cycle latency from second cycle of learn instruction number of devices latency in clk cycles 1 (tlsz = 00) 4 1?8 (tlsz = 01) 5 1?31 (tlsz = 10) 6 cycle learn1 learn2 clk2x cmdv cmd[1:0] dq sadr[21:0] ce_l cmd[8:2] x we_l oe_l x xxx x tlsz = 01, lram = 1, ldev = 1. 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 x x x 1a 1b comp1 comp2 x phs_l 1 1 z z z z z 0 zz zz 0 0 ssv ssf 1 1 1 0 z 1 1 figure 13-71. learn timing diagram on device number 7 (tlsz = 01)
cynse7003 2 document #: 38-02042 rev. *e page 96 of 126 at the end of cycle 2, a new instruction can begin. sram write latency is the same as the search to the sram read cycle (it is measured from the second cycle of the learn instruction). 14.0 depth-cascading the search engine application can depth-cascade the devices to various table sizes of different widths (68 bits, 136 bits, or 2 72 bits). the devices perform all the necessary arbitration to decide which device will drive the sram bus. search latency increas es as table size increases; the search rate itself remains constant. 14.1 depth-cascading up to eight devices (one block) figure 14-1 shows how up to eight devices can be cascaded to form 256k 68-bit, 128k 136-bit, or 64k 272-bit tables. it also shows the interconnection between devices for depth-cascading. each search engine asserts lho[1] and lho[0] signals to inform downstream devices of its results. the lhi[6:0] signals for a device are connected to lho signals of the upstream devices. the host asic must program the tlsz to 01 for each of up to eight devices in a block. a single device alone drives the sram bus in any single cycle. lho[0] lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 65 4 3210 lhi lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #6 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] ssf, ssv figure 14-1. depth-cascading to form a single block
cynse7003 2 document #: 38-02042 rev. *e page 97 of 126 14.2 depth-cascading up to 31 devices (four blocks) figure 14-2 shows how to cascade up to four blocks. each block except the last contains up to eight cynse70032 devices. the interconnection within each has been shown in the previous subsection with the cascading of up to eight devices in a block. note . the interconnection between blocks for depth-cascading is important. for each search, a block asserts bho[2], bho[1], and bho[0]. the bho[2:0] signals for a block are taken only from the last device in the block. for all other devices within that bl ock, these signals stay open and floating. the host asic must program the tlsz field to 10 in each of the devices for cascading up to 31 devices (in up to four blocks). 14.3 depth-cascading for a full signal bit[0] of each of the 68-bit entries is designated as a special bit (1 = occupied; 0 = empty). for each learn or pio write to t he data array, each device asserts fulo[1] and fulo[0] if it does not have any empty locations within it (see figure 14-3 ). each device combines the fulo signals from the devices above it with its own full status to generate a full signal, which will then give a full status of the table up to the device asserting the full signal. figure 14-3 shows the hardware connection diagram for generating the full signal that goes back to the asic. in a depth-cascaded block of up to eight devices, the full signal from the last device should be fed back to the asic controller to indicate the fullness of the table. the full signal of the other d evices should be left open. note . the learn instruction is supported for up to eight devices, whereas full cascading is allowed for one block in tables containing more than eight devices. in tables for which a learn instruction will not be used, the bit[0] of eac h 68-bit entry should always be set to 1. bho[2] block of 8 cynse70032s block 0 (devices 0?7) bho[1] bho[0] bhi[2] bhi[1] bhi[0] bhi[2] block of 7 cynse70032s block 3 (devices 24-30) bhi[1] bhi[0] gnd bho[2] bho[1] bho[0] bhi[2] bhi[1] bhi[0] gnd bhi[2] bhi[1] bhi[0] gnd block of 8 cynse70032s block 1 (devices 8?15) block of 8 cynse70032s block 2 (devices 16?23) dq[67:0] sram bho[2] bho[2] bho[1] bho[1] bho[0] bho[0] cmd[8:0], cmdv ssf, ssv figure 14-2. depth-cascading four blocks
cynse7003 2 document #: 38-02042 rev. *e page 98 of 126 15.0 sram addressing table 15-1 describes the commands used to generate addresses on the sram address bus. the index[13:0] field contains the address of a 68-bit entry that results in a hit in 68-bit-configured partition. it is the address of the 68-bit entry that lies at the 136-bit page, and the 272-bit page boundaries in 136-bit- and 272-bit-configured quadrants, respectively. section 7.0, ?registers? on page 13 of this specification, describes the nfa and ssr registers. adr[13:0] contains the address supplied on the dq bus during pio access to the cynse70032. command bits 8, and 7 {cmd[8:6]} are passed from the command to the sram address bus. see section 12.0, ?commands? on page 18, for more information. id[4:0] is the id of the device driving the sram bus (see section 21.0, ?pinout descriptions and package diagrams? on page 120, for more information). fulo[0] 654 32 10 fuli fulo[0] 65 4 3 2 1 0 fuli fulo[1] 65 4 3 2 1 0 fuli fulo[0] 65 4 3 2 1 0 fuli fulo[0] 6543210 fuli fulo[0] 65 4 321 0 fuli 6 5 4 3210 fuli 65 4 3210 fulo[0] fuli fuli fuli fulo[1] fulo[1] fulo[1] dq[67:0] fulo[1] fulo[0] vddq vddq vddq vddq vddq vddq full full full full full full full full vddq cynse70032 cynse70032 cynse70032 cynse70032 cynse70032 cynse70032 cynse70032 cynse70032 fuli fulo[0] figure 14-3. full generation in a cascaded table
cynse7003 2 document #: 38-02042 rev. *e page 99 of 126 15.1 generating an sram bus address table 15-1 details sram bus address generation. 15.2 sram pio access the remainder of section 15.0 describes sram read and sram write operations. sram read enables read access to the off-chip sram that contains associative data. the latency from the issuance of the read instruction to the address appearing on the sram bus is the same as the latency of the search instruction, and will depend on the value programmed for the tlsz parameter in the device configuration register. the latency of the ack from the read instruction is the same as the latency of the search instruction to the sram address plus the hlat programmed into the configuration register. note . sram read is a blocking operation?no new instruction can begin until the ack is returned by the selected device performing the access. sram write enables write access to the off-chip sram containing associative data. the latency from the second cycle of the write instruction to the address appearing on the sram bus is the same as the latency of the search instruction, and will depen d on the tlsz value parameter programmed into the device configuration register. note . sram write is a pipelined operation?new instruction can begin right after the previous command has ended. 15.3 sram read with a table of one device sram read enables read access to the off-chip sram that contains associative data. the latency from the issuance of the read instruction to the address appearing on the sram bus is the same as the latency of the search instruction and will depend on the tlsz value parameter programmed into the device configuration register. the latency of the ack from the read instruction is the same as the latency of the search instruction to the sram address plus the hlat programmed into the configuration register. the following explains the sram read operation in a table with only one device and having the following parameters: tlsz = 00, hlat = 000, lram = 1, and ldev = 1. figure 15-1 shows the associated timing diagram. for the following description, the selected device refers only to the device in the table because it is the only device to be accessed.  cycle 1a : the host asic applies the read instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. the host asic selects the device for which the id[4:0] matches the dq[25:21] lines. during this cycle, the host asic also supplies sadr[21:19] on cmd[8:6].  cycle 1b : the host asic continues to apply the read instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address with dq[20:19] set to 10 to select the sram address.  cycle 2 : the host asic floats dq[67:0] to a three-state condition.  cycle 3 : the host asic keeps dq[67:0] in a three-state condition.  cycle 4 : the selected device starts to drive dq[67:0] and drives ack from high-z to low.  cycle 5 : the selected device drives the read address on sadr[21:0]; it also drives ack high, ce_l low, and ale_l low.  cycle 6 : the selected device drives ce_l high, ale_l high, the sadr bus, the dq bus in a three-state condition, and ack low. at the end of cycle 6, the selected device floats ack in a three-state condition, and a new command can begin. table 15-1. sram bus address command sram operation 21 20 19 [18:14] [13:0] search read c8 c7 c6 id[4:0] index[13:0] learn write c8 c7 c6 id[4:0] nfa[13:0] pio read read c8 c7 c6 id[4:0] adr13:0] pio write write c8 c7 c6 id[4:0] adr[13:0] indirect access write/read c8 c7 c6 id[4:0] ssr[13:0]
cynse7003 2 document #: 38-02042 rev. *e page 100 of 126 15.4 sram read with a table of up to eight devices the following explains the sram read operation completed through a table of up to eight devices using the following parameter: tlsz = 01. figure 15-2 diagrams a block of eight devices. the following assumes that sram access is successfully achieved through cynse70032 device number 0. figure 15-3 and figure 15-4 show timing diagrams for device number 0 and device number 7, respectively.  cycle 1a : the host asic applies the read instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. the host asic selects the device for which id[4:0] matches the dq[25:21] lines. during this cycle the host asic also supplies sadr[21:19] on cmd[8:6].  cycle 1b : the host asic continues to apply the read instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10 to select the sram address.  cycle 2 : the host asic floats dq[67:0] to a three-state condition.  cycle 3 : the host asic keeps dq[67:0] in a three-state condition.  cycle 4 : the selected device starts to drive dq[67:0].  cycle 5 : the selected device continues to drive dq[67:0] and drives ack from high-z to low.  cycle 6 : the selected device drives the read address on sadr[21:0]. it also drives ack high, ce_l low, we_l high, and ale_l low.  cycle 7 : the selected device drives ce_l, ale_l, we_l, and dq bus in a three-state condition. it continues to drive ack low. at the end of cycle 7, the selected device floats ack in a three-state condition, and a new command can begin. cycle clk2x dq read address ack oe_l we_l ale_l sadr address 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 tlsz = 00, hlat = 000, lram = 1, ldev = 1. phs_l cmd[8:2] a b z z 0 1 0 z z 0 0 1 z 1 z 1 ssv 0 0 ssf ce_l 1 0 1 dq driven by cynse70032. cmdv cmd[1:0] figure 15-1. sram read access (tlsz = 00, hlat = 000, lram = 1, ldev = 1)
cynse7003 2 document #: 38-02042 rev. *e page 101 of 126 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 65 4 3210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #6 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] ssf, ssv figure 15-2. table of a block of eight devices
cynse7003 2 document #: 38-02042 rev. *e page 102 of 126 cycle clk2x cmdv cmd[1:0] dq address oe_l we_l ce_l sadr address 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 tlsz = 01, hlat = 000, lram = 0, ldev = 0. phs_l cmd[8:2] a b z z z z 0 z z z ssv z ssf ale_l z 0 z z 0 0 1 z z 1 cycle 7 dq driven by selected cynse70032. read figure 15-3. sram read through device number 0 in a block of eight devices
cynse7003 2 document #: 38-02042 rev. *e page 103 of 126 15.5 sram read with a table of up to 31 devices the following explains the sram read operation accomplished through a table of up to 31 devices using the following param- eters: tlsz = 10. the diagram of this table is shown in figure 15-5 . the following assumes that sram access is being accom- plished through cynse70032 device number 0 and that device number 0 is the selected device. figure 15-6 and figure 15-7 show the timing diagrams for device number 0 and device number 30, respectively.  cycle 1a : the host asic applies the read instruction to cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. the host asic selects the device for which the id[4:0] matches the dq[25:21] lines. during this cycle, the host asic also supplies sadr[21:19] on cmd[8:6].  cycle 1b : the host asic continues to apply the read instruction to cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address.  cycle 2 : the host asic floats dq[67:0] to a three-state condition.  cycle 3 : the host asic keeps dq[67:0] in a three-state condition.  cycle 4 : the selected device starts to drive dq[67:0].  cycles 5 to 6 : the selected device continues to drive dq[67:0].  cycle 7 : the selected device continues to drive dq[67:0] and drives an sram read cycle.  cycle 8 : the selected device drives acl from z to low.  cycle 9 : the selected device drives ack to high.  cycle 10 : the selected device drives ack from high to low. at the end of cycle 10, the selected device floats acl in a three-state condition. cycle clk2x cmdv cmd[1:0] dq read address oe_l we_l ce_l sadr 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 tlsz = 01, hlat = 000, lram = 1, ldev = 1. phs_l cmd[8:2] a b z 0 1 z z 1 1 ssv z ssf ale_l 1 z 1 z z z ack z 1 figure 15-4. sram read timing for device number 7 in a block of eight devices
cynse7003 2 document #: 38-02042 rev. *e page 104 of 126 bho[2] block of 8 cynse70032s block 0 (devices 0?7) bho[1] bho[0] bhi[2] bhi[1] bhi[0] bhi[2] block of 7 cynse70032s block 3 (devices 24?30) bhi[1] bhi[0] gnd bho[2] bho[1] bho[0] bhi[2] bhi[1] bhi[0] gnd bhi[2] bhi[1] bhi[0] gnd block of 8 cynse70032s block 1 (devices 8?15) block of 8 cynse70032s block 2 (devices 16?23) dq[67:0] sram bho[2] bho[2] bho[1] bho[1] bho[0] bho[0] cmd[8:0], cmdv ssf, ssv figure 15-5. table of 31 devices made of four blocks
cynse7003 2 document #: 38-02042 rev. *e page 105 of 126 cycle clk2x ce_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 phs_l sadr[21:0] ssf ssv z z z z cmdv cmd[1:0] cmd[8:2] 00 read a b address dq address 0 z z 1 we_l oe_l z ale_l z 0 z z z z z 1 0 0 ack dq driven by the selected cynse70032 tlsz = 10, hlat = 010, lram = 0, ldev = 0. figure 15-6. sram read through device number 0 in a bank of 31 devices (device number 0 timing)
cynse7003 2 document #: 38-02042 rev. *e page 106 of 126 15.6 sram write with a table of one device sram write enables write access to the off-chip sram that contains associative data. the latency from the second cycle of the write instruction to the address appearing on the sram bus is the same as the latency of the search instruction, and will depen d on the tlsz value parameter programmed into the device configuration register. the following explains the sram write operation accomplished through a table of only one device with the following parameters: tlsz = 00, hlat = 000, lram = 1, and ldev = 1. figure 15-8 shows the timing diagram. for the following description, the selected device refers to the only device in the table as this is the only device that will be accessed.  cycle 1a : the host asic applies the write instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. the host asic selects the device for which the id[4:0] matches the dq[25:21] lines. the host asic also supplies sadr[21:19] on cmd[8:6] in this cycle. note . cmd[2] must be set to 0 for sram write, because burst writes into the sram are not supported.  cycle 1b : the host asic continues to apply the write instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. note . cmd[2] must be set to 0 for sram write, because burst writes into the sram are not supported.  cycle 2 : the host asic continues to drive dq[67:0]. the data in this cycle is not used by the cynse70032.  cycle 3 : the host asic continues to drive dq[67:0]. the data in this cycle is not used by the cynse70032. at the end of cycle 3, a new command can begin. the write is a pipelined operation; however, the write cycle appears at the sram bus with the same latency as the search instruction (as measured from the second cycle of the write command). cycle clk2x ce_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 phs_l sadr[21:0] ssf ssv 1 0 0 cmdv cmd[1:0] cmd[8:2] 00 read a b address dq z 1 we_l oe_l 0 ale_l 1 z 1 z ack z 1 1 z tlsz = 10, hlat = 010, lram = 1, ldev = 1 figure 15-7. sram readthrough device number 0 in a bank of 31 devices (device number 30 timing)
cynse7003 2 document #: 38-02042 rev. *e page 107 of 126 15.7 sram write with a table of up to eight devices the following explains the sram write operation done via a table(s) of up to eight devices with the following parameters: tlsz = 01. the diagram of this table is shown in figure 15-9 . the following assumes that sram access is getting done through cynse70032 device number 0. figure 15-10 and figure 15-11 show the timing diagram for the device number 0 and device number 7, respectively.  cycle 1a : the host asic applies the write instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. the host asic selects the device for which the id[4:0] matches the dq[25:21] lines. the host asic also supplies sadr[21:19] on cmd[8:6] in this cycle. note . cmd[2] must be set to 0 for sram write, because burst writes into the sram are not supported.  cycle 1b : the host asic continues to apply the write instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. note . cmd[2] must be set to 0 for sram write, because burst writes into the sram are not supported.  cycle 2 : the host asic continues to drive dq[67:0]. the data in this cycle is not used by the cynse70032.  cycle 3 : the host asic continues to drive dq[67:0]. the data in this cycle is not used by the cynse70032. at the end of cycle 3, a new command can begin. the write is a pipelined operation; however, the write cycle appears at the sram bus with the same latency as the search instruction (as measured from the second cycle of the write command). cycle clk2x cmdv cmd[1:0] dq write address ack oe_l we_l ale_l sadr address 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 tlsz = 00, hlat = 000, lram = 1, ldev = 1 phs_l cmd[8:2] a b x 0 1 z z 1 ssv 0 0 ssf ce_l 1 x x 1 0 0 0 figure 15-8. sram write access (tlsz = 00, hlat = 000, lram = 1, ldev = 1)
cynse7003 2 document #: 38-02042 rev. *e page 108 of 126 lho[0] 6543210 lhi lho[0] 65 32 10 lhi lho[1] 6543 210 lhi lho[0] 654321 0 lhi lho[0] 654 3210 lhi lho[0] 65 4 3210 lhi lho[0] 654 32 10 lhi bho[0] 65 4 3210 lhi lho[0] lhi lhi lhi lho[1] lho[1] lho[1] bho[1] bho[0] bho[1] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] bhi[2:0] dq[67:0] sram lho[1] lho[0] cynse70032 #0 cynse70032 #1 cynse70032 #2 cynse70032 #3 cynse70032 #4 cynse70032 #5 cynse70032 #6 cynse70032 #7 4 bho[2] bho[2] cmdv cmd[8:0] ssf, ssv figure 15-9. table of a block of eight devices
cynse7003 2 document #: 38-02042 rev. *e page 109 of 126 cycle clk2x ce_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 phs_l sadr[21:0] ssf ssv z z z cmdv cmd[1:0] cmd[8:2] 01 write a b address dq address 0 we_l oe_l z ale_l z z z ack x x z z z 0 z z 0 z tlsz = 01, hlat = xxx, lram = 0, ldev = 0 figure 15-10. sram write through device number 0 in a block of eight devices
cynse7003 2 document #: 38-02042 rev. *e page 110 of 126 15.8 sram write with table(s) consisting of up to 31 devices the following explains the sram write operation done via a table(s) of up to 31 devices and with the following parameters: tlsz = 10. the diagram of this table(s) is shown in figure 15-12 . the following assumes that sram access is accomplished through cynse70032 device number 0 (the selected device). figure 15-13 and figure 15-14 show the timing diagram for device number 0 and device number 30, respectively.  cycle 1a : the host asic applies the write instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. the host asic selects the device for which id[4:0] matches the dq[25:21] lines. the host asic also supplies sadr[21:19] on cmd[8:6] in this cycle. note . cmd[2] must be set to 0 for sram write, because burst writes into the sram are not supported.  cycle 1b : the host asic continues to apply the write instruction on cmd[1:0] using cmdv = 1. the dq bus supplies the address, with dq[20:19] set to 10, to select the sram address. note . cmd[2] must be set to 0 for sram write, because burst write s into the sram are not supported.  cycle 2 : the host asic continues to drive dq[67:0]. the data in this cycle is not used by the cynse70032.  cycle 3 : the host asic continues to drive dq[67:0]. the data in this cycle is not used by the cynse70032. at the end of cycle 3, a new command can begin. the write is a pipelined operation; however, the write cycle appears at the sram bus with the same latency as the search instruction (as measured from the second cycle of the write command). cycle clk2x ce_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 phs_l sadr[21:0] ssf ssv 1 0 0 cmdv cmd[1:0] cmd[8:2] 01 write a b address dq z we_l oe_l 0 ale_l z z ack x x 1 0 1 1 z 1 1 z 1 tlsz = 01, hlat = xxx, lram = 1, ldev = 1 figure 15-11. sram write timing for device number 7 in a block of eight devices
cynse7003 2 document #: 38-02042 rev. *e page 111 of 126 bho[2] block of 8 cynse70032s block 0 (devices 0?7) bho[1] bho[0] bhi[2] bhi[1] bhi[0] bhi[2] block of 7 cynse70032s block 3 (devices 24?30) bhi[1] bhi[0] gnd bho[2] bho[1] bho[0] bhi[2] bhi[1] bhi[0] gnd bhi[2] bhi[1] bhi[0] gnd block of 8 cynse70032s block 1 (devices 8?15) block of 8 cynse70032s block 2 (devices 16?23) dq[67:0] sram bho[2] bho[2] bho[1] bho[1] bho[0] bho[0] cmd[8:0], cmdv ssf, ssv figure 15-12. table of 31 devices (four blocks)
cynse7003 2 document #: 38-02042 rev. *e page 112 of 126 cycle clk2x ce_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 phs_l sadr[21:0] ssf ssv z z z cmdv cmd[1:0] cmd[8:2] 01 write a b address dq address 0 we_l oe_l z ale_l z z z ack x x z z z 0 z z 0 z tlsz = 01, hlat = xxx, lram = 0, ldev = 0. figure 15-13. sram write through device number 0 in a bank of 31 devices (device 0 timing)
cynse7003 2 document #: 38-02042 rev. *e page 113 of 126 cycle clk2x ce_l 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 phs_l sadr[21:0] ssf ssv 1 0 0 cmdv cmd[1:0] cmd[8:2] 01 write a b address dq z we_l oe_l 0 ale_l z z ack x x 1 1 1 z 1 1 z 1 tlsz = 01, hlat = xxx, lram = 1, ldev = 1. figure 15-14. sram write through device numb er 0 in a bank of 31 cynse70032 devices (device number 30 timing)
cynse7003 2 document #: 38-02042 rev. *e page 114 of 126 16.0 power 16.1 the proper power-up sequence proper power-up sequence is required to correctly initialize the cypress network search engines before functional access to the device can begin. rst_l and trst_l should be held low before the power supplies ramp-up. rst_l must be set low for a duration of time afterward and then set high. the following steps describe the proper power-up sequence. 1. set rst_l and trst_l low. 2. power up v dd , v ddq and start running clk2x and phs_l. the order in which these signals (including v dd and v ddq ) are applied is not critical. 3. hold rst_l low for a minimum of 64 clk2x cycles. the counting starts on the first rising edge of clk2x when phs_l is high, after both v dd and v ddq have reached their steady state voltages. set rst_l high afterward to complete the power-up sequence. for jtag reset, trst_l can be brought high after both v dd and v ddq have reached their steady state voltages. figure 16-1 illustrates the proper sequences of the power-up operation . 17.0 application figure 17-1 shows how a search engine subsystem can be formed using a host asic and cypress?s cynse70032 bank. it also shows how this search engine subsystem is integrated in a switch or router. the cynse70032 can access synchronous as well as asynchronous srams by allowing the host asic to set the same hlat parameter in the all search engines within a bank of search engines. figure 16-1. power-up sequence vdd vddq 64 clk2x clk2x phs_l rst_l trst_l cycles
cynse7003 2 document #: 38-02042 rev. *e page 115 of 126 18.0 jtag (1149.1) testing the cynse70032 supports the test access port (tap) and boundary scan architecture, as specified in the ieee jtag standard 1149.1. the pin interface to the chip consists of five signals with the standard definitions: tck, tms, tdi, tdo, and trst_l. table 18-1 describes the operations that the test access port controller supports, and table 18-2 describes the tap device id register. note . to disable jtag functionality, connect the tck, tms and tdi pins to v ddq through a pull-up, and trst_l to ground through a pull-down. table 18-1. supported operations instruction type description sample/preload mandatory sample/preload . this operation loads the values of signals going to and from i/o pins into the boundary scan shift register to provide a snapshot of the normal functional operation, and to initialize the boundary scan. extest mandatory external test . this operation uses boundary scan values shifted in from tap to test connectivity external to the device. bypass mandatory this operation loads a single bit shift register between tdi and tdo and provides a minimum-length serial path when no test operation is required. idcode optional this operation selects the identification register between tdi and tdo and allows the ?idcode? to be read serially through tdo. clamp optional this operation drives preset values onto the outputs of devices . highz optional this operation leaves the device output pins in a high impedance state . p r o g r a m m e m o r y n e t w o r k l i n e i n t e r f a c e s s y s t e m b u s s w i t c h p r o c e s s o r s w i t c h f a b r i c h o s t a s i c s e a r c h e n g i n e s r a m b a n k figure 17-1. sample switch/router using the cynse70032 device
cynse7003 2 document #: 38-02042 rev. *e page 116 of 126 19.0 electrical specifications this section describes the electrical specifications, capacitance, operating conditions, dc characteristics, and ac timing para m- eters for the cynse70032, as shown in table 19-1 and table 19-2 . operating conditions for cynse70032 table 18-2. tap device id register field range initial value description revision [31:28] 0001 revision number . this is the current device revision number. numbers start from 1 and increment by 1 for each revision of the device. part number [27:12] 0000 0000 0000 0001 this is the part number of the device . mfid [11:1] 000_1101_1100 manufacturer id . this field is the same as the manufacturer id used in the tap controller. lsb [0] 1 least significant bit . table 19-1. dc electrical characteristics for cynse70032 parameter description test conditions min. max. unit i li input leakage current v ddq = v ddq max., v in = 0 to v ddq max. ?10 10 a i lo output leakage current v ddq = v ddq max., v in = 0 to v ddq max. ?10 10 a v il input low voltage (v ddq = 3.3v) ?0.3 0.8 v v il input low voltage (v ddq = 2.5v) ?0.3 0.8 v v ih input high voltage (v ddq = 3.3v) 2.0 v ddq + 0.3 v v ih input high voltage (v ddq = 2.5v) 2.0 v ddq + 0.3 v v ol output low voltage (v ddq = 3.3v) v ddq = v ddq min., i ol = 8 ma 0.4 v v ol output low voltage (v ddq = 2.5v) v ddq = v ddq min., i ol = 8 ma 0.4 v v oh output high voltage (v ddq = 3.3v) v ddq = v ddq min., i oh = 8 ma 2.4 v v oh output high voltage (v ddq = 2.5v) v ddq = v ddq min., i oh = 8.ma 2.4 v i dd2 3.3v supply current at v dd max 83-mhz search rate, l out =0 ma 300 ma i dd2 3.3v supply current at v dd max 66-mhz search rate, l out = 0 ma 240 ma i dd2 2.5v supply current at v dd max 83-mhz search rate, l out =0 ma 180 ma i dd2 2.5v supply current at v dd max 66-mhz search rate, l out = 0 ma 150 ma i ddl 1.8v supply current at v dd max 83-mhz search rate 1250 ma i ddl 1.8v supply current at v dd max 66-mhz search rate 1000 ma parameter description max. unit c in input capacitance 6 pf [7] c out output capacitance 6 pf [8] table 19-2. operating conditions for cynse70032 parameter description min. (3.3v) max. (3.3v) min. (2.5v) max. (2.5v) unit v ddq operating voltage for io 3.135 3.465 2.4 2.6 v v dd operating supply voltage 1.7 1.9 1.7 1.9 v v ih input high voltage [9] 2.0 v ddq + 0.3 1.7 v ddq + 0.3 v v il input low voltage [10] ?0.3 0.8 ?0.3 0.7 v supply voltage tolerance ?5% +5% ?5% +5% notes: 7. f = 1 mhz, v in = 0v. 8. f = 1 mhz, v out = 0v. 9. maximum allowable applies to overshoot only (v ddq is 2.5v supply). 10. minimum allowable applies to undershoot only.
cynse7003 2 document #: 38-02042 rev. *e page 117 of 126 table 19-3. operating range for cynse70032 20.0 ac timing waveforms table 20-1 shows the ac timing parameters for the cynse70032 device; table 20-2 shows the same parameters but for 2.5v. figure 20-1 shows the device?s input wave form, and figure 20-2 and figure 20-3 show the device?s output load. figure 20-4 shows a timing waveform diagram. range ambient temperature v cc commercial 0 c to +70 c +2.5v to +3.3v 5% industrial ?40 c to +85 c +2.5v to +3.3v 5% table 20-1. ac timing parameters with clk2x parameter description cynse70032-066 cynse70032-083 unit min. max. min. max. f clock clk2x frequency 133 166 mhz t clk clk2x period 7.5 6.0 ns t ckhi clk2x high pulse [11] 3.0 2.4 ns t cklo clk2x low pulse [11] 3.0 2.4 ns t isch input set-up time to clk2x rising edge [11] 2.5 1.8 ns t ihch input hold time to clk2x rising edge [11] 0.6 0.6 ns t icsch cascaded input set-up time to clk2x rising edge [11] 4.2 3.5 ns t ichch cascaded input hold time to clk2x rising edge [11] 0.6 0.6 ns t ckhov rising edge of clk2x to lho, fulo, bho, full valid [12] 8.5 7.0 ns t ckhdv rising edge of clk2x to dq valid [12] 9.0 7.5 ns t ckhdz rising edge of clk2x to dq high-z [13] 8.5 7.0 ns t ckhsv rising edge of clk2x to sram bus valid [12] 9.0 7.5 ns t ckhshz rising edge of clk2x to sram bus high-z [13] 6.5 6.0 ns t ckhslz rising edge of clk2x to sram bus low-z [13] 7.0 6.5 ns table 20-2. test conditions of cynse70032 conditions results input pulse levels (v ddq = 3.3v) gnd to 3.0v input pulse levels (v ddq = 2.5v) gnd to 2.5v input rise and fall times measured at 0.3v and 2.7v (v ddq = 3.3v) 2 ns (see figure 20-1 ) input rise and fall times measured at 0.25v and 2.25v (v ddq = 2.5v) 2 ns (see figure 20-1 ) input timing reference levels (v ddq = 3.3v) 1.5v input timing reference levels (v ddq = 2.5v) 1.25v output reference levels (v ddq = 3.3v) 1.5v output reference levels (v ddq = 2.5v) 1.25v output load see figure 20-2 and figure 20-3 notes: 11. values are based on 50% signal levels. 12. based on an ac load of cl = 30 pf (see figure 20-1 , figure 20-2 , and figure 20-3 ). 13. these parameters are sampled but not 100% tested, and are based on an ac load of 5 pf.
cynse7003 2 document #: 38-02042 rev. *e page 118 of 126 notes: 14. output loading is specified with c l = 5 pf, as in figure 20-3 . transition is measured at 200 mv from steady-state voltage. 15. the load used for v oh , v ol testing is shown in figure 20-3 . +2.5v v ddq = 2.5v / +3.0v v ddq = 3.3v 90% 90% 10% 10% gnd figure 20-1. input waveform for cynse70032 v l = 1.25v for v ccio = 2.5v vl = 1.5v for v ccio = 3.3v d out c l ac load z0 = 50 ? 50 ? figure 20-2. output load for cynse70032 5 pf 208 ? (2.5v) 158 ? (3.3v) q +2.5v or +3.3v for high-z and vol/voh [14, 15] 192 ? (2.5v) 175 ? (3.3v) figure 20-3. 2.5 i/o output load equivalent for cynse70032
cynse7003 2 document #: 38-02042 rev. *e page 119 of 126 clk signal signal signal signal signal group 0 group 2 group 3 group 5 group 4 0 tihch tisch ticsch tihch signal group 0: phs_l, rst_l. signal group 1: dq, cmd, cmdv. signal group 2: lhi, bhi, fuli. signal group 3: lho, bho, fulo, full. signal group 4: sadr, ce_l, oe_l, we_l, ale_l, ssf, ssv. signal group 5: dq, ack, eot. tckhov tckhov tckhdz tckhdv tckhshz tckhslz tckhsv cycle 1 cycle 2 cycle 3 cycle 4 cycle 5 cycle 6 cycle 7 cycle 8 cycle 9 cycle 10 cycle 11 cycle 12 cycle clk2x signal group 1 tihch tisch tihch tisch tichch figure 20-4. ac timing waveforms with clk2x
cynse7003 2 document #: 38-02042 rev. *e page 120 of 126 21.0 pinout descriptions and package diagrams in the following figure and table the cynse70032 device pinout diagram and pinout descriptions are shown. y wv u t rp nm l k j h gf ed cb a y wvut rpnm lkj hg f edcb a 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 nc nc dq64 gnd nc nc nc eot ack nc vdd dq60 vddq nc vdd nc dq56 dq50 dq52 nc full vddq gnd vdd fulo1 vddq nc rstl fuli5 nc nc nc dq62 nc vdd dq66 nc dq54 dq58 vddq fulo0 gnd dq46 dq48 dq42 vddq nc dq40 gnd dq44 dq36 vdd nc dq38 fuli4 fuli6 fuli1 fuli2 vddq fuli3 fuli0 bho0 bho1 bho2 vdd bhi2 vdd bhi1 bhi0 vddq lho1 lho0 lhi6 lhi5 lhi4 gnd nc lhi3 vddq lhi1 vdd lhi2 lhio id4 id2 id3 id1 trst_l dq67 vddq id0 tms tck gnd dq59 dq55 tdo tdi nc dq63 vddq dq47 nc dq49 nc vdd nc dq61 dq51 dq53 vdd nc nc dq65 dq57 vddq nc gnd dq45 dq43 dq39 dq41 vdd dq37 dq35 vddq dq33 dq31 nc vddq dq29 vdd vddq nc gnd nc dq23 dq19 dq15 dq25 vddq dq17 dq27 dq21 dq9 dq11 dq13 vdd dq1 dq5 dq7 nc gnd nc nc vddq sad5 vddq nc sad0 vdd dq3 sad7 sad6 sad4 sad3 nc nc sad11 nc vddq sad2 sad1 nc vdd sad8 dq12 dq0 nc dq8 dq18 dq6 vdd vddq dq16 vddq dq22 dq14 vdd gnd dq24 dq20 dq28 dq26 nc vddq dq34 dq30 vddq dq32 we_l vdd gnd clk2x sad15 gnd vddq nc gnd dq10 vddq cmd4 cmd2 oe_l sad18 ale_l sad21 sad16 sad12 sad9 dq4 ssf dq2 vdd cmd3 cmd0 phs_l sad19 vddq vddq vddq nc sad10 nc ssv nc nc cmd1 cmdv nc sad20 ce_l vdd sad17 sad14 sad13 nc cmd7 nc cmd8 vddq vdd nc top left bottom cmd5 cmd6 nc gnd gnd gnd gnd gnd gnd gnd gnd gnd gnd gnd gnd gnd gnd gnd gnd right figure 21-1. pinout diagram (top view)
cynse7003 2 document #: 38-02042 rev. *e page 121 of 126 table 21-1. pinout descriptions for pinout diagram package ball number signal name signal type package ball number signal name signal type a1 nc c4 dq63 i/o a2 nc c5 dq59 i/o a3 dq65 i/o c6 dq55 i/o a4 dq57 i/o c7 vddq 3.3v/2.5v a5 dq53 i/o c8 nc a6 vdd 1.8v c9 dq39 i/o a7 vddq 3.3v/2.5v c10 dq35 i/o a8 dq43 i/o c11 nc a9 dq37 i/o c12 dq23 i/o a10 dq31 i/o c13 dq19 i/o a11 vdd 1.8v c14 nc a12 dq27 i/o c15 dq11 i/o a13 dq21 i/o c16 dq5 i/o a14 dq17 i/o c17 nc a15 vdd 1.8v c18 sad0 output-t a16 nc c19 sad3 output-t a17 vddq 3.3v/2.5v c20 sad2 output-t a18 dq3 i/o d1 id0 input a19 nc d2 tms input a20 nc d3 tck input b1 nc d4 gnd ground b2 vdd 1.8v d5 dq67 i/o b3 nc d6 vddq 3.3v/2.5v b4 dq61 i/o d7 dq47 i/o b5 nc d8 gnd ground b6 dq49 i/o d9 dq41 i/o b7 dq51 i/o d10 vddq 3.3v/2.5v b8 dq45 i/o d11 vddq 3.3v/2.5v b9 vdd 1.8v d12 nc b10 dq33 i/o d13 gnd ground b11 dq29 i/o d14 vddq 3.3v/2.5v b12 dq25 i/o d15 dq9 i/o b13 vddq 3.3v/2.5v d16 dq1 i/o b14 dq15 i/o d17 gnd ground b15 dq13 i/o d18 nc b16 dq7 i/o d19 sad4 output-t b17 nc d20 vddq 3.3v/2.5v b18 vdd 1.8v e1 id2 input b19 nc e2 id3 input b20 sad1 output-t e3 id1 input c1 tdo output-t e4 trst_l input c2 tdi input e17 vddq 3.3v/2.5v c3 nc e18 sad6 output-t
cynse7003 2 document #: 38-02042 rev. *e page 122 of 126 e19 nc l2 bho1 output e20 sad8 output-t l3 bho2 output f1 vdd 1.8v l4 fuli0 input f2 lhi2 input l17 clk2x input f3 lhi0 input l18 sad21 output-t f4 id4 input l19 vddq 3.3v/2.5v f17 sad5 output-t l20 vdd 1.8v f18 sad7 output-t m1 fuli1 input f19 sad11 output-t m2 fuli2 input f20 vdd 1.8v m3 vddq 3.3v/2.5v g1 nc m4 fuli3 input g2 lhi3 input m17 we_l output-t g3 vddq 3.3v/2.5v m18 oe_l output-t g4 lhi1 input m19 phs_l input g17 vddq 3.3v/2.5v m20 nc g18 sad9 output-t n1 fuli4 input g19 sad10 output-t n2 fuli6 input g20 sad13 output-t n3 nc h1 lhi6 input n4 gnd ground h2 lhi5 input n17 gnd ground h3 lhi4 input n18 ale_l output-t h4 gnd ground n19 vddq 3.3v/2.5v h17 gnd ground n20 ce_l output-t h18 sad12 output-t p1 fuli5 input h19 nc p2 nc h20 sad14 output-t p3 nc j1 bhi0 input p4 fulo0 output j2 vddq 3.3v/2.5v p17 cmd2 input j3 lho1 output p18 cmd0 input j4 lho0 output p19 cmdv input j17 sad15 output-t p20 nc j18 sad16 output-t r1 vdd 1.8v j19 vddq 3.3v/2.5v r2 fulo1 output j20 sad17 output-t r3 vddq 3.3v/2.5v k1 vdd 1.8v r4 nc k2 bhi2 input r17 cmd4 input k3 vdd 1.8v r18 cmd3 input k4 bhi1 input r19 cmd1 input k17 vdd 1.8v r20 vdd 1.8v k18 sad18 output-t t1 nc k19 sad19 output-t t2 nc k20 sad20 output-t t3 vdd 1.8v l1 bho0 output t4 rstl input table 21-1. pinout descriptions for pinout diagram (continued) package ball number signal name signal type package ball number signal name signal type
cynse7003 2 document #: 38-02042 rev. *e page 123 of 126 t17 nc v20 cmd8 input t18 cmd6 input w1 gnd ground t19 cmd5 input w2 nc t20 vddq 3.3v/2.5v w3 nc u1 nc w4 nc u2 full output w5 vddq 3.3v/2.5v u3 vddq 3.3v/2.5v w6 nc u4 gnd ground w7 vddq 3.3v/2.5v u5 dq66 i/o w8 dq46 i/o u6 dq58 i/o w9 dq42 i/o u7 dq54 i/o w10 nc u8 gnd ground w11 dq34 i/o u9 dq44 i/o w12 dq28 i/o u10 dq38 i/o w13 vdd 1.8v u11 dq30 i/o w14 dq16 i/o u12 dq26 i/o w15 dq18 i/o u13 gnd ground w16 dq12 i/o u14 vddq 3.3v/2.5v w17 nc u15 dq6 i/o w18 dq4 i/o u16 dq0 i/o w19 nc u17 gnd ground w20 nc u18 ssf output-t y1 nc u19 ssv output-t y2 nc u20 cmd7 input y3 dq64 i/o v1 eot output-t y4 dq62 i/o v2 ack output-t y5 dq60 i/o v3 nc y6 vdd 1.8v v4 vdd 1.8v y7 dq50 i/o v5 nc y8 nc v6 dq56 i/o y9 dq40 i/o v7 dq52 i/o y10 vdd 1.8v v8 dq48 i/o y11 vddq 3.3v/2.5v v9 vddq 3.3v/2.5v y12 nc v10 dq36 i/o y13 dq24 i/o v11 dq32 i/o y14 dq22 i/o v12 vddq 3.3v/2.5v y15 vdd 1.8v v13 dq20 i/o y16 nc v14 dq14 i/o y17 dq10 i/o v15 vddq 3.3v/2.5v y18 dq2 i/o v16 dq8 i/o y19 nc v17 vddq 3.3v/2.5v y20 nc v18 vdd 1.8v j9 gnd ground v19 nc j10 gnd ground table 21-1. pinout descriptions for pinout diagram (continued) package ball number signal name signal type package ball number signal name signal type
cynse7003 2 document #: 38-02042 rev. *e page 124 of 126 22.0 ordering information table 22-1 provides ordering information. j11 gnd ground l10 gnd ground j12 gnd ground l11 gnd ground k9 gnd ground l12 gnd ground k10 gnd ground m9 gnd ground k11 gnd ground m10 gnd ground k12 gnd ground m11 gnd ground l9 gnd ground m12 gnd ground table 22-1. ordering information part number description frequency temperature range CYNSE70032-66BGC search engine 66 mhz commercial cynse70032-66bgi search engine 66 mhz industrial cynse70032-83bgc search engine 83 mhz commercial table 21-1. pinout descriptions for pinout diagram (continued) package ball number signal name signal type package ball number signal name signal type
cynse7003 2 document #: 38-02042 rev. *e page 125 of 126 ? cypress semiconductor corporation, 2003. the information contained herein is subject to change without notice. cypress semico nductor corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a cypress semi conductor product. nor does it convey or imply any license unde r patent or other rights. cypress semiconductor does not authorize its products for use as critical components in life-support syst ems where a malfunction or failure may reasonably be expected t o result in significant injury to the user. the inclusion of cypress semiconductor products in life-support systems application implies th at the manufacturer assumes all risk of such use and in do ing so indemnifies cypress semiconductor against all charges. 23.0 package diagrams associative processing technology (apt) is a trademark of cypress semiconductor. all product and company names mentioned in this document are the trademarks of their respective holders. 51-85130-*a 272-lead ball grid array (27 27 2.33 mm) bg272 figure 23-1. package
cynse7003 2 document #: 38-02042 rev. *e page 126 of 126 document history page document title: cynse70032 network search engine document number: 38-02042 rev. ecn no. issue date orig. of change description of change ** 111441 02/12/02 afx new data sheet *a 116611 07/10/02 oor added industrial temp parts *b 118152 9/19/02 oor added power section that covers the power-up sequence updating jtag section with supported operations table *c 121027 12/17/02 ed added note to power-up sequence instructions removed cynse70128-/256-specific power-up instructions removed alternative power-up sequence from toc removed references to alternative power-up sequence instructions including timing figure 16-1 *d 123685 02/20/03 kos removed test from signal description table 5-1 add pin a10 to the pinout descriptions table 21-1 add ?output-t? in the signal type field of the pin e18 table 21-1 change f1 signal name and type from vddq to vdd and 3.3v/2.5v to 1.8v table 21-1 add ?1.8v? in the signal type field of pin f20 table 21-1 change u6 package ball number from u6i/o to u6 table 21-1 re-order the pinouts list table 21-1 *e 126019 05/07/03 itl updated figure 16-1 on page 114 to relect the correct waveforms. also corrected the power-up sequence description above the figure.


▲Up To Search▲   

 
Price & Availability of CYNSE70032-66BGC

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X